Skip to content

Commit 6c6f3e9

Browse files
authored
Clean OTel Spring starter tests (#11010)
1 parent 34d5d93 commit 6c6f3e9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

smoke-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterSmokeTest.java

+2-5
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,13 @@
5353
},
5454
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
5555
properties = {
56-
"otel.traces.exporter=none",
57-
"otel.metrics.exporter=none",
58-
"otel.logs.exporter=none",
56+
// We set the export interval of the metrics to 100 ms. The default value is 1 minute.
57+
// the headers are simply set here to make sure that headers can be parsed
5958
"otel.metric.export.interval=100",
6059
"otel.exporter.otlp.headers=a=1,b=2",
6160
"otel.traces.exporter=memory",
6261
"otel.metrics.exporter=memory",
6362
"otel.logs.exporter=memory"
64-
// We set the export interval of the metrics to 100 ms. The default value is 1 minute.
65-
// the headers are simply set here to make sure that headers can be parsed
6663
})
6764
class OtelSpringStarterSmokeTest {
6865

0 commit comments

Comments
 (0)