mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Merge pull request #2552 from FOCONIS/flaky-dtimedmetrictest
DTimedMetricTest fails sometimes (flaky test)
This commit is contained in:
@@ -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