Author: manik.surtani(a)jboss.com
Date: 2008-04-25 07:19:47 -0400 (Fri, 25 Apr 2008)
New Revision: 5687
Modified:
core/trunk/src/test/java/org/jboss/cache/cluster/ReplicationQueueTest.java
Log:
Added delay
Modified: core/trunk/src/test/java/org/jboss/cache/cluster/ReplicationQueueTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/cluster/ReplicationQueueTest.java 2008-04-25
11:05:20 UTC (rev 5686)
+++ core/trunk/src/test/java/org/jboss/cache/cluster/ReplicationQueueTest.java 2008-04-25
11:19:47 UTC (rev 5687)
@@ -148,6 +148,8 @@
// now test results
verify(mockRpcManager);
+ TestingUtil.sleepThread(250); // make sure the queue flushes
+
assert replQ.elements.size() == 0;
}
Show replies by date