[infinispan-commits] Infinispan SVN: r2440 - branches/4.2.x/tree/src/test/java/org/infinispan/api/tree.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Mon Sep 27 11:28:14 EDT 2010


Author: manik.surtani at jboss.com
Date: 2010-09-27 11:28:14 -0400 (Mon, 27 Sep 2010)
New Revision: 2440

Modified:
   branches/4.2.x/tree/src/test/java/org/infinispan/api/tree/TreeCacheAPITest.java
Log:
Better test impl

Modified: branches/4.2.x/tree/src/test/java/org/infinispan/api/tree/TreeCacheAPITest.java
===================================================================
--- branches/4.2.x/tree/src/test/java/org/infinispan/api/tree/TreeCacheAPITest.java	2010-09-26 21:04:54 UTC (rev 2439)
+++ branches/4.2.x/tree/src/test/java/org/infinispan/api/tree/TreeCacheAPITest.java	2010-09-27 15:28:14 UTC (rev 2440)
@@ -21,6 +21,7 @@
 import org.testng.annotations.Test;
 
 import javax.transaction.TransactionManager;
+import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;
 
@@ -40,9 +41,8 @@
    protected EmbeddedCacheManager createCacheManager() throws Exception {
       // start a single cache instance
       Configuration c = new Configuration();
-      c.setTransactionManagerLookupClass(TransactionSetup.getManagerLookup());
       c.setInvocationBatchingEnabled(true);
-      EmbeddedCacheManager cm = TestCacheManagerFactory.createCacheManager(c);
+      EmbeddedCacheManager cm = TestCacheManagerFactory.createCacheManager(c, true);
 
       Cache flatcache = cm.getCache();
       cache = new TreeCacheImpl(flatcache);



More information about the infinispan-commits mailing list