Skip to content

Commit 0a28f9d

Browse files
authored
Remove error logs in tests (#10630)
1 parent 1cd768e commit 0a28f9d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@
3838
},
3939
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
4040
properties = {
41-
"otel.exporter.otlp.enabled=false",
41+
"otel.traces.exporter=none",
42+
"otel.metrics.exporter=none",
43+
"otel.logs.exporter=none",
4244
"otel.metric.export.interval=100",
4345
"otel.exporter.otlp.headers=a=1,b=2",
4446
// We set the export interval of the metrics to 100 ms. The default value is 1 minute.

0 commit comments

Comments
 (0)