Changed the name from decorateHooks to decorateQueues

This commit is contained in:
Marcin Grzejszczak
2021-02-25 15:22:00 +01:00
parent de33b91739
commit 36bc95976d
5 changed files with 25 additions and 24 deletions

View File

@@ -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");
}
}