[jbosscache-commits] JBoss Cache SVN: r5461 - core/branches/1.4.X/tests/functional/org/jboss/cache/statetransfer.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Wed Mar 26 14:28:09 EDT 2008
Author: mircea.markus
Date: 2008-03-26 14:28:09 -0400 (Wed, 26 Mar 2008)
New Revision: 5461
Modified:
core/branches/1.4.X/tests/functional/org/jboss/cache/statetransfer/VersionedTestBase.java
Log:
fix test failure by removing assertion: the problem is that eviction kicks in and removes the 5 '/org/jboss/cache/data' nodes before state transfer takes place, durring the addition of 25k nodes. Is is normal that the nodes are not being transfered
Modified: core/branches/1.4.X/tests/functional/org/jboss/cache/statetransfer/VersionedTestBase.java
===================================================================
--- core/branches/1.4.X/tests/functional/org/jboss/cache/statetransfer/VersionedTestBase.java 2008-03-25 18:59:14 UTC (rev 5460)
+++ core/branches/1.4.X/tests/functional/org/jboss/cache/statetransfer/VersionedTestBase.java 2008-03-26 18:28:09 UTC (rev 5461)
@@ -654,7 +654,7 @@
{
TreeCache cache1 = new TreeCache();
PropertyConfigurator config = new PropertyConfigurator();
- config.configure(cache1, "META-INF/replSync-eviction-service.xml");
+ config.configure(cache1, "META-INF/replSync-eviction-service.xml");
caches.put("cache1", cache1);
final TreeCache cache2 = new TreeCache();
@@ -671,13 +671,8 @@
if (i < 5)
cache1.put("/org/jboss/test/data/" + i, "key", "data" + i);
}
-
cache2.startService();
-
- Set children = cache2.getChildrenNames("/org/jboss/test/data");
- assertNotNull("Data children transferred", children);
- assertEquals("All data children transferred", 5, children.size());
- children = cache2.getChildrenNames("/base");
+ Set children = cache2.getChildrenNames("/base");
assertNotNull("Base children transferred", children);
assertTrue("Minimum number of base children transferred", children.size() >= 5000);
More information about the jbosscache-commits
mailing list