From e380520db4e55fb4fe62083b57f8862077a1832d Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Sun, 17 Dec 2023 18:28:57 +0800 Subject: [PATCH] fix Signed-off-by: Adrian Cole --- .../spring/web3/ITTracingClientHttpRequestInterceptor.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/instrumentation/spring-web/src/it/spring3/src/test/java/brave/spring/web3/ITTracingClientHttpRequestInterceptor.java b/instrumentation/spring-web/src/it/spring3/src/test/java/brave/spring/web3/ITTracingClientHttpRequestInterceptor.java index 2a78ff362..0e9ba1249 100644 --- a/instrumentation/spring-web/src/it/spring3/src/test/java/brave/spring/web3/ITTracingClientHttpRequestInterceptor.java +++ b/instrumentation/spring-web/src/it/spring3/src/test/java/brave/spring/web3/ITTracingClientHttpRequestInterceptor.java @@ -20,7 +20,8 @@ import java.util.Collections; import okhttp3.mockwebserver.MockResponse; import okhttp3.mockwebserver.RecordedRequest; -import org.junit.Ignore; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; import org.springframework.http.client.ClientHttpRequestFactory; import org.springframework.http.client.ClientHttpRequestInterceptor; import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; @@ -83,11 +84,11 @@ ClientHttpRequestFactory configureClient(ClientHttpRequestInterceptor intercepto testSpanHandler.takeRemoteSpan(Span.Kind.CLIENT); } - @Override @Ignore("blind to the implementation of redirects") + @Override @Disabled("blind to the implementation of redirects") public void redirect() { } - @Override @Ignore("doesn't know the remote address") + @Override @Disabled("doesn't know the remote address") public void reportsServerAddress() { } }