Remove error logs in tests (#10630)

This commit is contained in:
Jean Bisutti 2024-02-21 23:00:36 +01:00 committed by GitHub
parent 1cd768e294
commit 0a28f9dcd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,9 @@ import org.springframework.context.annotation.Configuration;
},
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
properties = {
"otel.exporter.otlp.enabled=false",
"otel.traces.exporter=none",
"otel.metrics.exporter=none",
"otel.logs.exporter=none",
"otel.metric.export.interval=100",
"otel.exporter.otlp.headers=a=1,b=2",
// We set the export interval of the metrics to 100 ms. The default value is 1 minute.