From 61c8f653c48202a5633cc72894b7e27e92d26f28 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 25 Aug 2026 15:02:37 -0700 Subject: [PATCH] Fix checkstyle violation --- .../smoketest/opentelemetry/OtlpCollectorIntegrationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {