Author: mircea.markus
Date: 2008-11-21 11:59:03 -0500 (Fri, 21 Nov 2008)
New Revision: 7185
Modified:
core/trunk/src/test/java/org/jboss/cache/config/parsing/CacheConfigsTest.java
core/trunk/src/test/java/org/jboss/cache/options/cachemodelocal/CacheModeLocalTestBase.java
Log:
make code compilable and increse timeout
Modified: core/trunk/src/test/java/org/jboss/cache/config/parsing/CacheConfigsTest.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/config/parsing/CacheConfigsTest.java 2008-11-21
16:35:19 UTC (rev 7184)
+++
core/trunk/src/test/java/org/jboss/cache/config/parsing/CacheConfigsTest.java 2008-11-21
16:59:03 UTC (rev 7185)
@@ -51,7 +51,7 @@
ByteArrayInputStream bais = new ByteArrayInputStream(xml.getBytes());
CacheConfigsXmlParser ccxp = new CacheConfigsXmlParser();
- Map<String, Configuration> map = ccxp.parseConfigs(bais);
+ Map<String, Configuration> map = ccxp.parseConfigs(bais, null);
Map toExpect = buildExpectedValues();
assert map.equals(toExpect) : "Expected " + toExpect + " but was
" + map;
@@ -87,7 +87,7 @@
ByteArrayInputStream bais = new ByteArrayInputStream(xml.getBytes());
CacheConfigsXmlParser ccxp = new CacheConfigsXmlParser();
- Map<String, Configuration> map = ccxp.parseConfigs(bais);
+ Map<String, Configuration> map = ccxp.parseConfigs(bais, null);
Map toExpect = buildExpectedValues();
assert map.equals(toExpect);
Modified:
core/trunk/src/test/java/org/jboss/cache/options/cachemodelocal/CacheModeLocalTestBase.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/options/cachemodelocal/CacheModeLocalTestBase.java 2008-11-21
16:35:19 UTC (rev 7184)
+++
core/trunk/src/test/java/org/jboss/cache/options/cachemodelocal/CacheModeLocalTestBase.java 2008-11-21
16:59:03 UTC (rev 7185)
@@ -66,7 +66,7 @@
Configuration c = new Configuration();
c.setClusterName("test");
- c.setStateRetrievalTimeout(1000);
+ c.setStateRetrievalTimeout(10000);
c.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
c.setNodeLockingScheme(nodeLockingScheme);
c.setCacheMode(cacheMode);
Show replies by date