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

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Wed Mar 12 17:37:31 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-03-12 17:37:31 -0400 (Wed, 12 Mar 2008)
New Revision: 5424

Modified:
   core/trunk/src/test/java/org/jboss/cache/options/CacheModeLocalSimpleTest.java
Log:
Patched test

Modified: core/trunk/src/test/java/org/jboss/cache/options/CacheModeLocalSimpleTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/options/CacheModeLocalSimpleTest.java	2008-03-12 21:37:10 UTC (rev 5423)
+++ core/trunk/src/test/java/org/jboss/cache/options/CacheModeLocalSimpleTest.java	2008-03-12 21:37:31 UTC (rev 5424)
@@ -68,6 +68,10 @@
       {
          cache1.getConfiguration().setNodeLockingScheme(Configuration.NodeLockingScheme.OPTIMISTIC);
          cache2.getConfiguration().setNodeLockingScheme(Configuration.NodeLockingScheme.OPTIMISTIC);
+         cache1.getConfiguration().setSyncCommitPhase(true);
+         cache1.getConfiguration().setSyncRollbackPhase(true);
+         cache2.getConfiguration().setSyncCommitPhase(true);
+         cache2.getConfiguration().setSyncRollbackPhase(true);
       }
 
       cache1.start();




More information about the jbosscache-commits mailing list