Author: mircea.markus
Date: 2008-02-18 08:48:05 -0500 (Mon, 18 Feb 2008)
New Revision: 5355
Modified:
core/trunk/src/test/java/org/jboss/cache/lock/LockReleaseTest.java
Log:
reduced invocation count
Modified: core/trunk/src/test/java/org/jboss/cache/lock/LockReleaseTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/lock/LockReleaseTest.java 2008-02-16 05:19:04
UTC (rev 5354)
+++ core/trunk/src/test/java/org/jboss/cache/lock/LockReleaseTest.java 2008-02-18 13:48:05
UTC (rev 5355)
@@ -237,7 +237,7 @@
/**
* Tests that when an acquisition timeout occurs locks are being released.
*/
- @Test(invocationCount = 100)
+ @Test(invocationCount = 10)
public void testNodeReleaseOnAcquisitionTimeout() throws Exception
{
cache = createCache(IsolationLevel.REPEATABLE_READ);
@@ -291,5 +291,6 @@
txLocksReleased.wait();//wait for tx locks to be released
}
assertEquals(0, cache.getNumberOfLocksHeld());
+ System.out.println("LockReleaseTest.testNodeReleaseOnAcquisitionTimeout
finished!");
}
}
Show replies by date