[jboss-cvs] JBossAS SVN: r63815 - trunk/testsuite/src/main/org/jboss/test/cluster/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jul 4 00:21:27 EDT 2007


Author: bstansberry at jboss.com
Date: 2007-07-04 00:21:27 -0400 (Wed, 04 Jul 2007)
New Revision: 63815

Modified:
   trunk/testsuite/src/main/org/jboss/test/cluster/test/DRMTestCase.java
Log:
Use the JChannelFactory from the cluster module

Modified: trunk/testsuite/src/main/org/jboss/test/cluster/test/DRMTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/test/DRMTestCase.java	2007-07-04 03:58:49 UTC (rev 63814)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/test/DRMTestCase.java	2007-07-04 04:21:27 UTC (rev 63815)
@@ -48,6 +48,7 @@
 import org.jboss.ha.framework.server.ClusterPartitionConfig;
 import org.jboss.ha.framework.server.DistributedReplicantManagerImpl;
 import org.jboss.ha.framework.server.DistributedStateImpl;
+import org.jboss.ha.framework.server.JChannelFactory;
 import org.jboss.jmx.adaptor.rmi.RMIAdaptor;
 import org.jboss.jmx.adaptor.rmi.RMIAdaptorExt;
 import org.jboss.jmx.adaptor.rmi.RMINotificationListener;
@@ -55,7 +56,6 @@
 import org.jboss.test.JBossClusteredTestCase;
 import org.jboss.test.cluster.drm.IReplicants;
 import org.jboss.test.cluster.drm.MockHAPartition;
-import org.jgroups.JChannelFactory;
 import org.jgroups.stack.GossipRouter;
 import org.jgroups.stack.IpAddress;
 
@@ -635,6 +635,7 @@
          RuntimeConfig cacheRuntimeConfig1 = new RuntimeConfig();
          JChannelFactory factory1 = new JChannelFactory();
          factory1.setMultiplexerConfig(muxFile);
+         factory1.setNamingServicePort(1099);
          cacheRuntimeConfig1.setMuxChannelFactory(factory1);
          cacheConfig1.setRuntimeConfig(cacheRuntimeConfig1);
          CacheJmxWrapper wrapper1 = new CacheJmxWrapper();
@@ -663,6 +664,7 @@
          RuntimeConfig cacheRuntimeConfig2 = new RuntimeConfig();
          JChannelFactory factory2 = new JChannelFactory();
          factory2.setMultiplexerConfig(muxFile);
+         factory2.setNamingServicePort(1099);
          cacheRuntimeConfig2.setMuxChannelFactory(factory2);
          cacheConfig2.setRuntimeConfig(cacheRuntimeConfig2);
          CacheJmxWrapper wrapper2 = new CacheJmxWrapper();




More information about the jboss-cvs-commits mailing list