[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/options ...
Manik Surtani
manik at jboss.org
Thu Mar 8 07:53:55 EST 2007
User: msurtani
Date: 07/03/08 07:53:55
Modified: tests/functional/org/jboss/cache/options
ExplicitVersionsReplTest.java
Log:
Region manager shld be thread safe + patched a UT
Revision Changes Path
1.14 +2 -2 JBossCache/tests/functional/org/jboss/cache/options/ExplicitVersionsReplTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ExplicitVersionsReplTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/options/ExplicitVersionsReplTest.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- ExplicitVersionsReplTest.java 7 Mar 2007 23:44:00 -0000 1.13
+++ ExplicitVersionsReplTest.java 8 Mar 2007 12:53:54 -0000 1.14
@@ -360,10 +360,10 @@
cache[0].put(Fqn.fromString("/parent/child"), "k", "v");
cache[0].getTransactionManager().commit();
- assertEquals(1, ((DefaultDataVersion) ((NodeSPI) cache[0].get("/")).getVersion()).getRawVersion());
+ assertEquals(0, ((DefaultDataVersion) ((NodeSPI) cache[0].get("/")).getVersion()).getRawVersion());
assertEquals(vParent, ((NodeSPI) cache[0].get("/parent")).getVersion());
assertEquals(vChild, ((NodeSPI) cache[0].get("/parent/child")).getVersion());
- assertEquals(1, ((DefaultDataVersion) ((NodeSPI) cache[1].get("/")).getVersion()).getRawVersion());
+ assertEquals(0, ((DefaultDataVersion) ((NodeSPI) cache[1].get("/")).getVersion()).getRawVersion());
assertEquals(vParent, ((NodeSPI) cache[1].get("/parent")).getVersion());
assertEquals(vChild, ((NodeSPI) cache[1].get("/parent/child")).getVersion());
More information about the jboss-cvs-commits
mailing list