[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/aop ...
Manik Surtani
msurtani at jboss.com
Thu Jul 20 06:31:16 EDT 2006
User: msurtani
Date: 06/07/20 06:31:16
Modified: tests/functional/org/jboss/cache/aop
SharedRefConcurrentTest.java
Log:
Fixed some broken UTs to use the new xml parsers, cache factories, etc.
Revision Changes Path
1.5 +2 -2 JBossCache/tests/functional/org/jboss/cache/aop/SharedRefConcurrentTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SharedRefConcurrentTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/aop/SharedRefConcurrentTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- SharedRefConcurrentTest.java 5 May 2006 12:06:57 -0000 1.4
+++ SharedRefConcurrentTest.java 20 Jul 2006 10:31:16 -0000 1.5
@@ -27,7 +27,7 @@
* Tests concurrency of the __JBossInternal__ region of the cache.
*
* @author <a href="mailto://brian.stansberry@jboss.com">Brian Stansberry</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class SharedRefConcurrentTest extends TestCase
{
@@ -147,7 +147,7 @@
String configFile = sync ? "META-INF/replSync-service.xml" : "META-INF/replAsync-service.xml";
config.configure(tree, configFile); // read in generic replAsync xml
tree.setDeadlockDetection(sync);
- tree.setClusterName("StateTransferTest");
+ tree.getConfiguration().setClusterName("StateTransferTest");
tree.createService();
tree.startService();
More information about the jboss-cvs-commits
mailing list