[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/loader/deadlock ...
Galder Zamarreno
galder.zamarreno at jboss.com
Fri Jun 29 09:33:37 EDT 2007
User: gzamarreno
Date: 07/06/29 09:33:37
Modified: tests/functional/org/jboss/cache/loader/deadlock Tag:
Branch_JBossCache_1_4_0
ConcurrentCreationDeadlockTest.java
Log:
[JBCACHE-1103] Finished the backport from head.
Revision Changes Path
No revision
No revision
1.2.4.2 +3 -3 JBossCache/tests/functional/org/jboss/cache/loader/deadlock/ConcurrentCreationDeadlockTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConcurrentCreationDeadlockTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/deadlock/ConcurrentCreationDeadlockTest.java,v
retrieving revision 1.2.4.1
retrieving revision 1.2.4.2
diff -u -b -r1.2.4.1 -r1.2.4.2
--- ConcurrentCreationDeadlockTest.java 22 Jun 2006 09:54:00 -0000 1.2.4.1
+++ ConcurrentCreationDeadlockTest.java 29 Jun 2007 13:33:37 -0000 1.2.4.2
@@ -307,7 +307,7 @@
for (int i = 0; i < NUM_RUNS; i++) {
if (mcl_exception != null) {
// terminate the test on the first failed worker
- fail("Due to an exception: " + mcl_exception);
+ throw mcl_exception;
}
// start several worker threads to work with the same set of FQN's
Worker[] t = new Worker[NUM_WORKERS];
@@ -352,10 +352,10 @@
* A worker thread that applies the concurrent modifications.
*
* @author Marian Nikolov
- * @author $Author: msurtani $
+ * @author $Author: gzamarreno $
* @version $RCSfile: ConcurrentCreationDeadlockTest.java,v $
- * @version $Revision: 1.2.4.1 $
- * @version $Date: 2006/06/22 09:54:00 $
+ * @version $Revision: 1.2.4.2 $
+ * @version $Date: 2007/06/29 13:33:37 $
*/
private class Worker extends Thread {
/** Used to fire all workers at the same time. */
More information about the jboss-cvs-commits
mailing list