Author: manik.surtani(a)jboss.com
Date: 2008-08-29 12:16:29 -0400 (Fri, 29 Aug 2008)
New Revision: 6646
Modified:
core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerTest.java
Log:
Should use PL, not MVCC
Modified:
core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerTest.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerTest.java 2008-08-29
15:26:10 UTC (rev 6645)
+++
core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerTest.java 2008-08-29
16:16:29 UTC (rev 6646)
@@ -75,6 +75,8 @@
c.setIsolationLevel(IsolationLevel.REPEATABLE_READ);
if (optLocking)
c.setNodeLockingScheme(Configuration.NodeLockingScheme.OPTIMISTIC);
+ else
+ c.setNodeLockingScheme(Configuration.NodeLockingScheme.PESSIMISTIC);
c.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
// we need this because notifications emitted by the notification interceptor are
done during the commit call.
Show replies by date