Skip to content

Commit de1e111

Browse files
amarzialibric3
andauthored
Update dd-trace-core/src/test/groovy/datadog/trace/common/metrics/ConflatingMetricAggregatorTest.groovy
Co-authored-by: Brice Dutheil <[email protected]>
1 parent b6315c3 commit de1e111

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dd-trace-core/src/test/groovy/datadog/trace/common/metrics/ConflatingMetricAggregatorTest.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,17 +475,21 @@ class ConflatingMetricAggregatorTest extends DDSpecification {
475475
new SimpleSpan("service" , "operation", "resource", "type", false, true, false, 0, 10, HTTP_OK)
476476
]
477477
aggregator.start()
478+
478479
when:
479480
aggregator.publish(spans)
480481
Thread.sleep(1_000)
482+
481483
then:
482484
0 * writer._
483485
when:
484486
features.supportsMetrics() >> true
485487
aggregator.publish(spans)
486488
Thread.sleep(1_000)
489+
487490
then:
488491
(1.._) * writer._
492+
489493
cleanup:
490494
aggregator.close()
491495
}

0 commit comments

Comments
 (0)