Author: manik.surtani(a)jboss.com
Date: 2008-01-03 07:42:32 -0500 (Thu, 03 Jan 2008)
New Revision: 4965
Modified:
core/trunk/src/test/java/org/jboss/cache/eviction/minttl/MinTTLTestBase.java
Log:
increased sleep time to wait for eviction thread
Modified: core/trunk/src/test/java/org/jboss/cache/eviction/minttl/MinTTLTestBase.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/eviction/minttl/MinTTLTestBase.java 2008-01-03
10:32:35 UTC (rev 4964)
+++
core/trunk/src/test/java/org/jboss/cache/eviction/minttl/MinTTLTestBase.java 2008-01-03
12:42:32 UTC (rev 4965)
@@ -98,7 +98,7 @@
// the last cache.get() would have updated the last modified tstamp so we need to
wait at least 3 secs (+1 sec maybe for the eviction thread)
// to make sure this is evicted.
- TestingUtil.sleepThread(4500);
+ TestingUtil.sleepThread(5000);
assert cache.get(fqn, "k") == null : "Node should have been
evicted";
}
Show replies by date