diff --git a/tracing/providers/jaeger/src/main/java/io/helidon/tracing/providers/jaeger/JaegerTracerBuilder.java b/tracing/providers/jaeger/src/main/java/io/helidon/tracing/providers/jaeger/JaegerTracerBuilder.java index c651cc5d3b3..b2806cbc14b 100644 --- a/tracing/providers/jaeger/src/main/java/io/helidon/tracing/providers/jaeger/JaegerTracerBuilder.java +++ b/tracing/providers/jaeger/src/main/java/io/helidon/tracing/providers/jaeger/JaegerTracerBuilder.java @@ -153,7 +153,7 @@ public class JaegerTracerBuilder implements TracerBuilder { static final boolean DEFAULT_ENABLED = true; static final String DEFAULT_HTTP_HOST = "localhost"; - static final int DEFAULT_SCHEDULE_DELAY = 30_000; + static final int DEFAULT_SCHEDULE_DELAY = 5_000; static final int DEFAULT_HTTP_PORT = 14250; static final int DEFAULT_MAX_QUEUE_SIZE = 2048; static final int DEFAULT_MAX_EXPORT_BATCH_SIZE = 512; diff --git a/tracing/providers/jaeger/src/test/java/io/helidon/tracing/providers/jaeger/JaegerTracerBuilderTest.java b/tracing/providers/jaeger/src/test/java/io/helidon/tracing/providers/jaeger/JaegerTracerBuilderTest.java index 50b9f3dd78d..c2d14b93b0e 100644 --- a/tracing/providers/jaeger/src/test/java/io/helidon/tracing/providers/jaeger/JaegerTracerBuilderTest.java +++ b/tracing/providers/jaeger/src/test/java/io/helidon/tracing/providers/jaeger/JaegerTracerBuilderTest.java @@ -77,7 +77,7 @@ void testConfigDefaults() { assertThat("Span Processor type", jBuilder.spanProcessorType(), is(JaegerTracerBuilder.SpanProcessorType.BATCH)); assertThat("Sampler param", jBuilder.samplerParam(), is(Integer.valueOf(1))); assertThat("Exporter timeout", jBuilder.exporterTimeout(), is(Duration.ofSeconds(10))); - assertThat("Schedule delay", jBuilder.scheduleDelay(), is(Duration.ofSeconds(30))); + assertThat("Schedule delay", jBuilder.scheduleDelay(), is(Duration.ofSeconds(5))); assertThat("Max Queue Size", jBuilder.maxQueueSize(), is(2048)); assertThat("Max Export Batch Size", jBuilder.maxExportBatchSize(), is(512)); }