Skip to content

Commit 7c6d14b

Browse files
committed
test deprecated classes
1 parent 3e42d98 commit 7c6d14b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/test/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxClientInstrumentationOldTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import org.junit.jupiter.api.extension.RegisterExtension;
1414
import org.springframework.web.reactive.function.client.WebClient;
1515

16-
@SuppressWarnings("deprecation")
16+
@SuppressWarnings("deprecation") // testing deprecated API
1717
class SpringWebfluxClientInstrumentationOldTest
1818
extends AbstractSpringWebfluxClientInstrumentationTest {
1919

instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/test/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxServerInstrumentationOldTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.junit.jupiter.api.extension.RegisterExtension;
2020
import org.springframework.context.ConfigurableApplicationContext;
2121

22+
@SuppressWarnings("deprecation") // testing deprecated API
2223
public final class SpringWebfluxServerInstrumentationOldTest
2324
extends AbstractHttpServerTest<ConfigurableApplicationContext> {
2425

instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/test/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/TestWebfluxSpringBootOldApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import reactor.core.publisher.Flux;
3838
import reactor.core.publisher.Mono;
3939

40-
@SuppressWarnings("deprecation")
40+
@Deprecated
4141
@SpringBootApplication
4242
class TestWebfluxSpringBootOldApp {
4343

0 commit comments

Comments
 (0)