Author: mircea.markus
Date: 2008-08-28 12:45:10 -0400 (Thu, 28 Aug 2008)
New Revision: 6636
Modified:
core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/CacheJmxWrapperTestBase.java
Log:
fixed tests
Modified:
core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/CacheJmxWrapperTestBase.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/CacheJmxWrapperTestBase.java 2008-08-28
16:41:07 UTC (rev 6635)
+++
core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/CacheJmxWrapperTestBase.java 2008-08-28
16:45:10 UTC (rev 6636)
@@ -102,6 +102,7 @@
protected CacheJmxWrapper<String, String> createWrapper(Configuration config)
{
CacheJmxWrapper<String, String> wrapper = new CacheJmxWrapper<String,
String>();
+ config.setNodeLockingScheme(Configuration.NodeLockingScheme.PESSIMISTIC);
wrapper.setConfiguration(config);
return wrapper;
}
@@ -117,6 +118,7 @@
{
Configuration c = new Configuration();
c.setClusterName(CLUSTER_NAME);
+ c.setNodeLockingScheme(Configuration.NodeLockingScheme.PESSIMISTIC);
c.setExposeManagementStatistics(true);
c.setCacheMode(Configuration.CacheMode.LOCAL);
return c;
Show replies by date