We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2604724 commit f939d85Copy full SHA for f939d85
smoke-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterDisabledSmokeTest.java
@@ -7,6 +7,7 @@
7
8
import io.opentelemetry.spring.smoketest.OtelSpringStarterSmokeTestApplication;
9
import org.junit.jupiter.api.Test;
10
+import org.junit.jupiter.api.condition.DisabledInNativeImage;
11
import org.springframework.boot.test.context.SpringBootTest;
12
13
@SpringBootTest(
@@ -15,6 +16,9 @@
15
16
OtelSpringStarterSmokeTest.TestConfiguration.class
17
},
18
properties = {"otel.sdk.disabled=true"})
19
+@DisabledInNativeImage // Without this the native tests if the OtelSpringStarterSmokeTest class will
20
+// fail with org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "TEST_TABLE"
21
+// already exists
22
class OtelSpringStarterDisabledSmokeTest {
23
24
@Test
0 commit comments