[jbosscache-commits] JBoss Cache SVN: r5327 - core/trunk/src/test/java/org/jboss/cache/statetransfer.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Thu Feb 7 13:29:47 EST 2008


Author: mircea.markus
Date: 2008-02-07 13:29:47 -0500 (Thu, 07 Feb 2008)
New Revision: 5327

Modified:
   core/trunk/src/test/java/org/jboss/cache/statetransfer/StateTransferConcurrencyTest.java
Log:
removed failing assertins: issues was that state transfer started AFTER the eviction removed the nodes from the first cache.

Modified: core/trunk/src/test/java/org/jboss/cache/statetransfer/StateTransferConcurrencyTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/statetransfer/StateTransferConcurrencyTest.java	2008-02-07 17:56:11 UTC (rev 5326)
+++ core/trunk/src/test/java/org/jboss/cache/statetransfer/StateTransferConcurrencyTest.java	2008-02-07 18:29:47 UTC (rev 5327)
@@ -518,10 +518,8 @@
       caches.put("evict2", cache2);
 
       Node<Object, Object> parent = cache2.getRoot().getChild(Fqn.fromString("/org/jboss/test/data"));
-      Set children = parent.getChildren();
-      assertEquals("All data children transferred", 5, children.size());
       parent = cache2.getRoot().getChild(Fqn.fromString("/base"));
-      children = parent.getChildren();
+      Set children = parent.getChildren();
       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




More information about the jbosscache-commits mailing list