Changed the name from decorateHooks to decorateQueues
This commit is contained in:
@@ -101,7 +101,7 @@ public class FlatMapTests {
|
||||
FlatMapTests.TestConfiguration.class, Issue866Configuration.class)
|
||||
.web(WebApplicationType.REACTIVE)
|
||||
.properties("server.port=0", "spring.jmx.enabled=false",
|
||||
"spring.sleuth.reactor.decorate-hooks=false",
|
||||
"spring.sleuth.reactor.decorate-queues=false",
|
||||
"spring.sleuth.reactor.decorate-on-each=true",
|
||||
"spring.application.name=TraceWebFluxOnEachTests",
|
||||
"security.basic.enabled=false",
|
||||
@@ -117,7 +117,7 @@ public class FlatMapTests {
|
||||
FlatMapTests.TestConfiguration.class, Issue866Configuration.class)
|
||||
.web(WebApplicationType.REACTIVE)
|
||||
.properties("server.port=0", "spring.jmx.enabled=false",
|
||||
"spring.sleuth.reactor.decorate-hooks=false",
|
||||
"spring.sleuth.reactor.decorate-queues=false",
|
||||
"spring.sleuth.reactor.decorate-on-each=false",
|
||||
"spring.application.name=TraceWebFluxOnLastTests",
|
||||
"security.basic.enabled=false",
|
||||
@@ -126,14 +126,14 @@ public class FlatMapTests {
|
||||
assertReactorTracing(context);
|
||||
|
||||
try {
|
||||
System.setProperty("spring.sleuth.reactor.decorate-hooks", "false");
|
||||
System.setProperty("spring.sleuth.reactor.decorate-queues", "false");
|
||||
System.setProperty("spring.sleuth.reactor.decorate-on-each", "false");
|
||||
// trigger context refreshed
|
||||
context.getBean(ContextRefresher.class).refresh();
|
||||
assertReactorTracing(context);
|
||||
}
|
||||
finally {
|
||||
System.clearProperty("spring.sleuth.reactor.decorate-hooks");
|
||||
System.clearProperty("spring.sleuth.reactor.decorate-queues");
|
||||
System.clearProperty("spring.sleuth.reactor.decorate-on-each");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user