Skip to content

Commit ec14d5f

Browse files
committed
Fix flaky MicrometerDoubleCounterTest
1 parent f3b7877 commit ec14d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micrometer-meter-provider/src/test/java/io/opentelemetry/contrib/metrics/micrometer/internal/instruments/MicrometerDoubleCounterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ void observableWithAttributes() {
325325
assertThat(counter.count()).isEqualTo(20.0);
326326

327327
double expectedCount = 10.0;
328-
for (double value : RandomUtils.randomDoubles(10, 0.0, 500.0)) {
328+
for (double value : RandomUtils.randomDoubles(10, 10.0, 500.0)) {
329329
expectedCount += value;
330330

331331
atomicDoubleCounter.set(expectedCount);

0 commit comments

Comments
 (0)