Author: bstansberry(a)jboss.com
Date: 2008-02-29 15:31:11 -0500 (Fri, 29 Feb 2008)
New Revision: 5380
Modified:
core/trunk/src/test/java/org/jboss/cache/api/pfer/PutForExternalReadTestBase.java
Log:
Remove unneeded condition that commit/rollback phase is sync
Modified:
core/trunk/src/test/java/org/jboss/cache/api/pfer/PutForExternalReadTestBase.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/api/pfer/PutForExternalReadTestBase.java 2008-02-29
20:20:17 UTC (rev 5379)
+++
core/trunk/src/test/java/org/jboss/cache/api/pfer/PutForExternalReadTestBase.java 2008-02-29
20:31:11 UTC (rev 5380)
@@ -52,8 +52,8 @@
cache1 = (CacheSPI<String, String>)
cf.createCache(UnitTestCacheConfigurationFactory.createConfiguration(cacheMode), false);
cache1.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache1.getConfiguration().setNodeLockingScheme(optimistic ?
Configuration.NodeLockingScheme.OPTIMISTIC :
Configuration.NodeLockingScheme.PESSIMISTIC);
- cache1.getConfiguration().setSyncCommitPhase(optimistic);
- cache1.getConfiguration().setSyncRollbackPhase(optimistic);
+// cache1.getConfiguration().setSyncCommitPhase(optimistic);
+// cache1.getConfiguration().setSyncRollbackPhase(optimistic);
cache1.start();
tm1 = cache1.getConfiguration().getRuntimeConfig().getTransactionManager();
@@ -61,8 +61,8 @@
cache2 = (CacheSPI<String, String>)
cf.createCache(UnitTestCacheConfigurationFactory.createConfiguration(cacheMode), false);
cache2.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache2.getConfiguration().setNodeLockingScheme(optimistic ?
Configuration.NodeLockingScheme.OPTIMISTIC :
Configuration.NodeLockingScheme.PESSIMISTIC);
- cache2.getConfiguration().setSyncCommitPhase(optimistic);
- cache2.getConfiguration().setSyncRollbackPhase(optimistic);
+// cache2.getConfiguration().setSyncCommitPhase(optimistic);
+// cache2.getConfiguration().setSyncRollbackPhase(optimistic);
cache2.start();
tm2 = cache2.getConfiguration().getRuntimeConfig().getTransactionManager();
Show replies by date