diff --git a/smoke-test/spring-boot-smoke-test-opentelemetry/src/dockerTest/java/smoketest/opentelemetry/OtlpCollectorIntegrationTests.java b/smoke-test/spring-boot-smoke-test-opentelemetry/src/dockerTest/java/smoketest/opentelemetry/OtlpCollectorIntegrationTests.java index 79a6d9adef8..67bb99ca989 100644 --- a/smoke-test/spring-boot-smoke-test-opentelemetry/src/dockerTest/java/smoketest/opentelemetry/OtlpCollectorIntegrationTests.java +++ b/smoke-test/spring-boot-smoke-test-opentelemetry/src/dockerTest/java/smoketest/opentelemetry/OtlpCollectorIntegrationTests.java @@ -30,6 +30,7 @@ import org.testcontainers.utility.DockerImageName; import org.testcontainers.utility.MountableFile; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.test.context.SpringBootTest.WebEnvironment; import org.springframework.boot.test.web.server.LocalServerPort; import org.springframework.boot.testsupport.container.TestImage; import org.springframework.web.client.RestClient; @@ -42,7 +43,7 @@ import static org.assertj.core.api.Assertions.assertThat; * * @author Moritz Halbritter */ -@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) +@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT) @Testcontainers(disabledWithoutDocker = true) class OtlpCollectorIntegrationTests {