[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/lock ...
Manik Surtani
manik at jboss.org
Mon Jun 18 11:11:11 EDT 2007
User: msurtani
Date: 07/06/18 11:11:11
Modified: tests/functional/org/jboss/cache/lock IdentityLockTest.java
Log:
Cleaned up test
Revision Changes Path
1.11 +5 -2 JBossCache/tests/functional/org/jboss/cache/lock/IdentityLockTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: IdentityLockTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/lock/IdentityLockTest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- IdentityLockTest.java 23 May 2007 10:28:51 -0000 1.10
+++ IdentityLockTest.java 18 Jun 2007 15:11:11 -0000 1.11
@@ -22,7 +22,7 @@
*
* @author Bela Ban
* @author Ben Wang
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public class IdentityLockTest extends TestCase
{
@@ -507,6 +507,9 @@
};
t1.start();
+ // make sure t1 has the WL!
+ t1.join();
+
t2.start();
TestingUtil.sleepThread(1000);
@@ -531,7 +534,7 @@
// assertTrue(lock_.isOwner(o2));
// lock_.release(o2);
- t1.join(20000);
+// t1.join(20000);
t2.join(20000);
t3.join(20000);
if (thread_ex != null)
More information about the jboss-cvs-commits
mailing list