Increase delay for time-based test which is failing a lot.
ONOS-867
Change-Id: I4e93f72ca6a07dba83bffc76f3cf2c09fa909c1f
diff --git a/core/api/src/test/java/org/onosproject/event/AbstractEventAccumulatorTest.java b/core/api/src/test/java/org/onosproject/event/AbstractEventAccumulatorTest.java
index 2580d5c..67163dc5 100644
--- a/core/api/src/test/java/org/onosproject/event/AbstractEventAccumulatorTest.java
+++ b/core/api/src/test/java/org/onosproject/event/AbstractEventAccumulatorTest.java
@@ -15,18 +15,18 @@
*/
package org.onosproject.event;
+import org.junit.Ignore;
+import org.junit.Test;
+
+import java.util.List;
+import java.util.Timer;
+
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.onlab.junit.TestTools.delay;
import static org.onosproject.event.TestEvent.Type.FOO;
-import java.util.List;
-import java.util.Timer;
-
-import org.junit.Ignore;
-import org.junit.Test;
-
/**
* Tests the operation of the accumulator.
*/
@@ -52,7 +52,7 @@
accumulator.add(new TestEvent(FOO, "d"));
assertTrue("should not have fired yet", accumulator.batch.isEmpty());
accumulator.add(new TestEvent(FOO, "e"));
- delay(10);
+ delay(20);
assertFalse("should have fired", accumulator.batch.isEmpty());
assertEquals("incorrect batch", "abcde", accumulator.batch);
}