DTimedMetricTest fails sometimes

This commit is contained in:
Roland Praml
2022-02-07 16:27:09 +01:00
parent 05ad6da7e6
commit cde00650ca
@@ -12,7 +12,7 @@ public class DTimedMetricTest {
DTimedMetric metric = new DTimedMetric("addSinceNanos");
long start = System.nanoTime();
Thread.sleep(10);
Thread.sleep(11);
metric.addSinceNanos(start);
@@ -35,7 +35,7 @@ public class DTimedMetricTest {
DTimedMetric metric = new DTimedMetric("addSinceNanos");
long start = System.nanoTime();
Thread.sleep(10);
Thread.sleep(11);
metric.addBatchSince(start, 5);