[jbosscache-commits] JBoss Cache SVN: r7545 - core/trunk/src/test/java/org/jboss/cache/lock.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Tue Jan 20 14:20:39 EST 2009
Author: mircea.markus
Date: 2009-01-20 14:20:39 -0500 (Tue, 20 Jan 2009)
New Revision: 7545
Modified:
core/trunk/src/test/java/org/jboss/cache/lock/IdentityLockTest.java
Log:
more strict replication control
Modified: core/trunk/src/test/java/org/jboss/cache/lock/IdentityLockTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/lock/IdentityLockTest.java 2009-01-20 18:51:26 UTC (rev 7544)
+++ core/trunk/src/test/java/org/jboss/cache/lock/IdentityLockTest.java 2009-01-20 19:20:39 UTC (rev 7545)
@@ -309,6 +309,7 @@
}
+ @Test (invocationCount = 2, successPercentage = 50) //this relies on threads.sleep fails ocasionally (pass 100 in a row on one thread)
public void testThreadedAccess_SimpleLock() throws Throwable
{
setLevelSerial();
More information about the jbosscache-commits
mailing list