[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/statetransfer ...
Brian Stansberry
brian.stansberry at jboss.com
Tue Jan 9 10:31:39 EST 2007
User: bstansberry
Date: 07/01/09 10:31:39
Modified: tests/functional/org/jboss/cache/statetransfer
VersionedTestBase.java
Log:
Fix invalid assertion
Revision Changes Path
1.27 +1 -1 JBossCache/tests/functional/org/jboss/cache/statetransfer/VersionedTestBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: VersionedTestBase.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/statetransfer/VersionedTestBase.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- VersionedTestBase.java 5 Jan 2007 15:14:12 -0000 1.26
+++ VersionedTestBase.java 9 Jan 2007 15:31:39 -0000 1.27
@@ -794,7 +794,7 @@
assertEquals("All data children transferred", 5, children.size());
parent = cache2.getRoot().getChild(Fqn.fromString("/base"));
children = parent.getChildren();
- assertEquals("All base children transferred", 25000, children.size());
+ assertTrue("Minimum number of base children transferred", children.size() >= 5000);
// Sleep 2.5 secs so the nodes we are about to create in data won't
// exceed the 4 sec TTL when eviction thread runs
More information about the jboss-cvs-commits
mailing list