From cc75be4c551f833e1b253e5a3fa57f96402bcfe3 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 21 Feb 2019 16:26:49 +0100 Subject: [PATCH] Polish: --- .../instrument/web/client/integration/WebClientTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/integration/WebClientTests.java b/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/integration/WebClientTests.java index 734821a99..4b07e8277 100644 --- a/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/integration/WebClientTests.java +++ b/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/integration/WebClientTests.java @@ -199,7 +199,7 @@ public class WebClientTests { // at the interceptor level then(noTraceSpan.get().tags().get("http.url")).matches(".*/notrace"); }); - then(Tracing.current().tracer().currentSpan()).isNull(); + then(this.tracer.currentSpan()).isNull(); } Object[] parametersForShouldCreateANewSpanWithClientSideTagsWhenNoPreviousTracingWasPresent() { @@ -249,7 +249,7 @@ public class WebClientTests { } then(this.reporter.getSpans()).isEmpty(); - then(Tracing.current().tracer().currentSpan()).isNull(); + then(this.tracer.currentSpan()).isNull(); } Object[] parametersForShouldPropagateNotSamplingHeader() throws Exception {