[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/transaction ...
Manik Surtani
msurtani at jboss.com
Wed Dec 6 06:44:22 EST 2006
User: msurtani
Date: 06/12/06 06:44:22
Modified: tests/functional/org/jboss/cache/transaction Tag:
Branch_JBossCache_1_4_0 IsolationLevelNoneTest.java
Log:
ported fixes for JBCACHE-871 and JBCACHE-875 from the 1.3.0 branch
Revision Changes Path
No revision
No revision
1.1.20.1 +102 -103 JBossCache/tests/functional/org/jboss/cache/transaction/IsolationLevelNoneTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: IsolationLevelNoneTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/transaction/IsolationLevelNoneTest.java,v
retrieving revision 1.1
retrieving revision 1.1.20.1
diff -u -b -r1.1 -r1.1.20.1
--- IsolationLevelNoneTest.java 8 Jul 2005 05:58:10 -0000 1.1
+++ IsolationLevelNoneTest.java 6 Dec 2006 11:44:22 -0000 1.1.20.1
@@ -7,7 +7,6 @@
import org.jboss.cache.Fqn;
import org.jboss.cache.TreeCache;
import org.jboss.cache.lock.IsolationLevel;
-import org.jboss.cache.transaction.DummyTransactionManager;
import javax.transaction.NotSupportedException;
import javax.transaction.SystemException;
@@ -16,7 +15,7 @@
/**
* Tests whether modifications within callbacks (TreeCacheListener) are handled correctly
* @author Bela Ban
- * @version $Id: IsolationLevelNoneTest.java,v 1.1 2005/07/08 05:58:10 msurtani Exp $
+ * @version $Id: IsolationLevelNoneTest.java,v 1.1.20.1 2006/12/06 11:44:22 msurtani Exp $
*/
public class IsolationLevelNoneTest extends TestCase {
TreeCache cache=null;
@@ -84,7 +83,7 @@
assertTrue(cache.exists(FQN, KEY));
assertEquals(VALUE, cache.get(FQN, KEY));
System.out.println("cache: " + cache.toString(true) + ", locks: " + cache.printLockInfo());
- assertEquals(4, cache.getNumberOfLocksHeld());
+ assertEquals(5, cache.getNumberOfLocksHeld());
tx.commit();
}
More information about the jboss-cvs-commits
mailing list