mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
DTimedMetricTest fails sometimes
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user