From dedfc204c14ce6457b4c759063652650f6022ef7 Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Thu, 16 Nov 2023 20:12:24 +0200 Subject: [PATCH] Fix latest dep tests (#9892) --- .../spring/spring-security-config-6.0/library/build.gradle.kts | 2 +- .../spring/web/v3_1/SpringWebInstrumentationTest.java | 1 + .../spring-webflux/spring-webflux-5.3/library/build.gradle.kts | 2 ++ .../spring/webflux/v5_3/WebfluxServerHttpAttributesGetter.java | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/instrumentation/spring/spring-security-config-6.0/library/build.gradle.kts b/instrumentation/spring/spring-security-config-6.0/library/build.gradle.kts index 12f62f98fe1e..368eb0272570 100644 --- a/instrumentation/spring/spring-security-config-6.0/library/build.gradle.kts +++ b/instrumentation/spring/spring-security-config-6.0/library/build.gradle.kts @@ -12,7 +12,7 @@ dependencies { implementation(project(":instrumentation:reactor:reactor-3.1:library")) testImplementation(project(":testing-common")) - testImplementation("org.springframework:spring-test:6.0.0") + testLibrary("org.springframework:spring-test:6.0.0") } otelJava { diff --git a/instrumentation/spring/spring-web/spring-web-3.1/library/src/test/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebInstrumentationTest.java b/instrumentation/spring/spring-web/spring-web-3.1/library/src/test/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebInstrumentationTest.java index 306f5737ae73..4733e4e57f31 100644 --- a/instrumentation/spring/spring-web/spring-web-3.1/library/src/test/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebInstrumentationTest.java +++ b/instrumentation/spring/spring-web/spring-web-3.1/library/src/test/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebInstrumentationTest.java @@ -37,6 +37,7 @@ public class SpringWebInstrumentationTest extends AbstractHttpClientTest