DTimedMetricTest fails sometimes

This commit is contained in:
Roland Praml committed 2022-02-07 16:27:09 +01:00
1 parent 05ad6da7e6
commit cde00650ca
1 file changed
+2 -2
@@ -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);