Author: mircea.markus
Date: 2008-08-29 10:21:27 -0400 (Fri, 29 Aug 2008)
New Revision: 6644
Modified:
core/trunk/src/test/java/org/jboss/cache/notifications/CacheListenerTest.java
Log:
test was designed for pessimistic + optimistic locking
Modified: core/trunk/src/test/java/org/jboss/cache/notifications/CacheListenerTest.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/notifications/CacheListenerTest.java 2008-08-29
14:10:18 UTC (rev 6643)
+++
core/trunk/src/test/java/org/jboss/cache/notifications/CacheListenerTest.java 2008-08-29
14:21:27 UTC (rev 6644)
@@ -54,6 +54,7 @@
Configuration c = new Configuration();
c.setCacheMode(Configuration.CacheMode.LOCAL);
c.setIsolationLevel(IsolationLevel.REPEATABLE_READ);
+ c.setNodeLockingScheme(Configuration.NodeLockingScheme.PESSIMISTIC);
if (optLocking)
c.setNodeLockingScheme(Configuration.NodeLockingScheme.OPTIMISTIC);
c.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
Show replies by date