Skip to content

Commit 93ea6a2

Browse files
authored
make profiling window larger
1 parent 7a0d8fa commit 93ea6a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inferred-spans/src/test/java/io/opentelemetry/contrib/inferredspans/InferredSpansAutoConfigTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ public void checkProfilerWorking() {
113113
try (AutoConfigTestProperties props =
114114
new AutoConfigTestProperties()
115115
.put(InferredSpansAutoConfig.ENABLED_OPTION, "true")
116-
.put(InferredSpansAutoConfig.DURATION_OPTION, "500ms")
117-
.put(InferredSpansAutoConfig.INTERVAL_OPTION, "500ms")
116+
.put(InferredSpansAutoConfig.DURATION_OPTION, "1000ms")
117+
.put(InferredSpansAutoConfig.INTERVAL_OPTION, "1000ms")
118118
.put(InferredSpansAutoConfig.SAMPLING_INTERVAL_OPTION, "5ms")) {
119119
OpenTelemetry otel = GlobalOpenTelemetry.get();
120120
List<SpanProcessor> processors = OtelReflectionUtils.getSpanProcessors(otel);

0 commit comments

Comments
 (0)