Author: jason.greene(a)jboss.com
Date: 2008-01-15 17:09:29 -0500 (Tue, 15 Jan 2008)
New Revision: 5138
Modified:
pojo/branches/2.1/src/test/java/org/jboss/cache/pojo/NewReplicatedTest.java
pojo/branches/2.1/src/test/java/org/jboss/cache/pojo/collection/ReplicatedSyncListTest.java
Log:
Fix invalid cache usage
Modified: pojo/branches/2.1/src/test/java/org/jboss/cache/pojo/NewReplicatedTest.java
===================================================================
--- pojo/branches/2.1/src/test/java/org/jboss/cache/pojo/NewReplicatedTest.java 2008-01-15
17:11:39 UTC (rev 5137)
+++ pojo/branches/2.1/src/test/java/org/jboss/cache/pojo/NewReplicatedTest.java 2008-01-15
22:09:29 UTC (rev 5138)
@@ -251,7 +251,7 @@
// restart cache1_
cache1_.stop();
- cache1_.getCache().removeNode(Fqn.fromString("/a"));
+ //cache1_.getCache().removeNode(Fqn.fromString("/a"));
cache1_.start();
// Start from scratch for initial state transfer
Person remote = (Person) cache1_.find("/a");
Modified:
pojo/branches/2.1/src/test/java/org/jboss/cache/pojo/collection/ReplicatedSyncListTest.java
===================================================================
---
pojo/branches/2.1/src/test/java/org/jboss/cache/pojo/collection/ReplicatedSyncListTest.java 2008-01-15
17:11:39 UTC (rev 5137)
+++
pojo/branches/2.1/src/test/java/org/jboss/cache/pojo/collection/ReplicatedSyncListTest.java 2008-01-15
22:09:29 UTC (rev 5138)
@@ -48,7 +48,7 @@
@AfterMethod(alwaysRun = true)
protected void tearDown() throws Exception
{
- cache1.getCache().removeNode(Fqn.fromString("/"));
+ //cache1.getCache().removeNode(Fqn.fromString("/"));
cache1.stop();
cache2.stop();
}
Show replies by date