-
Notifications
You must be signed in to change notification settings - Fork 1k
chore: check compatibility between reactor-core and lettuce #15472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
chore: check compatibility between reactor-core and lettuce #15472
Conversation
Change-Id: Id24535b21c004991b9bd6eec3c3f167903bc6ab0
Change-Id: Ia0e45b15e17a3566a957b1feca5a5f9ee7e21916
Change-Id: I905c820c42c59733f7f54f98bd93bfc3b2b39d75
Change-Id: Icd45c926cf4377b33664f63774aa8517ab0fc372
| import org.junit.jupiter.api.Test; | ||
| import org.junit.jupiter.api.extension.RegisterExtension; | ||
|
|
||
| public class DisableNoEntranceSpanAndMetricsTest extends AbstractLettuceClientTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usually we leave test classes as package private
this class name is weird, consider renaming it
|
|
||
| testing { | ||
| suites { | ||
| val test_compatibility by registering(JvmTestSuite::class) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all other suites are named in camelCase
this suite isn't automatically run you'll have to add it with
check {
dependsOn(testing.suites)
}
currently this test fails
| Tracing.withTraceContextProvider( | ||
| new TraceContextProvider() { | ||
| @Override | ||
| public TraceContext getTraceContext() { | ||
| return null; | ||
| } | ||
|
|
||
| @Override | ||
| public Mono<TraceContext> getTraceContextLater() { | ||
| return TraceContextProvider.super.getTraceContextLater(); | ||
| } | ||
| }); | ||
| Tracing.getContext(); | ||
| Tracing.clearContext(); | ||
| Tracing.disabled(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking at #10997 I'd assume that you don't need to call anything besides Tracing.getContext()?
related to #10997