[jboss-cvs] JBossAS SVN: r58603 - trunk/testsuite/src/main/org/jboss/test/cluster/test
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Nov 18 06:53:44 EST 2006
Author: bstansberry at jboss.com
Date: 2006-11-18 06:53:42 -0500 (Sat, 18 Nov 2006)
New Revision: 58603
Modified:
trunk/testsuite/src/main/org/jboss/test/cluster/test/DRMTestCase.java
Log:
Start with correct count
Modified: trunk/testsuite/src/main/org/jboss/test/cluster/test/DRMTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/test/DRMTestCase.java 2006-11-18 11:53:24 UTC (rev 58602)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/test/DRMTestCase.java 2006-11-18 11:53:42 UTC (rev 58603)
@@ -279,7 +279,7 @@
DistributedReplicantManager.ReplicantListener listener;
String key;
Exception ex;
- int count = 0;
+ int count = -1;
Logger log;
DeployerThread(MockDeployer deployer,
@@ -348,7 +348,7 @@
String[] keys;
String nodeName;
Exception ex;
- int count;
+ int count = -1;
int weightFactor;
JGroupsThread(DistributedReplicantManagerImpl drm,
@@ -603,9 +603,9 @@
MockHAPartition partition = new MockHAPartition(localAddress);
DistributedReplicantManagerImpl drm =
- new DistributedReplicantManagerImpl(partition, mbeanServer);
+ new DistributedReplicantManagerImpl(partition);
- drm.init();
+ drm.create();
// Create a fake view for the MockHAPartition
@@ -728,9 +728,9 @@
MockHAPartition partition = new MockHAPartition(localAddress);
DistributedReplicantManagerImpl drm =
- new DistributedReplicantManagerImpl(partition, mbeanServer);
+ new DistributedReplicantManagerImpl(partition);
- drm.init();
+ drm.create();
// Create a fake view for the MockHAPartition
@@ -833,9 +833,9 @@
MockHAPartition partition = new MockHAPartition(localAddress);
DistributedReplicantManagerImpl drm =
- new DistributedReplicantManagerImpl(partition, mbeanServer);
+ new DistributedReplicantManagerImpl(partition);
- drm.init();
+ drm.create();
// Create a fake view for the MockHAPartition
@@ -952,9 +952,9 @@
MockHAPartition partition = new MockHAPartition(localAddress);
DistributedReplicantManagerImpl drm =
- new DistributedReplicantManagerImpl(partition, mbeanServer);
+ new DistributedReplicantManagerImpl(partition);
- drm.init();
+ drm.create();
// Create a fake view for the MockHAPartition
@@ -1101,7 +1101,7 @@
{
deployers[i].interrupt();
sleepThread(5);
- printStackTrace(deployers[i].getName(), jgThread.getException());
+ printStackTrace(deployers[i].getName(), deployers[i].getException());
}
}
@@ -1135,8 +1135,8 @@
partition.setCurrentViewClusterNodes(allNodes);
DistributedReplicantManagerImpl drm =
- new DistributedReplicantManagerImpl(partition, mbeanServer);
- drm.init();
+ new DistributedReplicantManagerImpl(partition);
+ drm.create();
drm.start();
CachingListener listener = new CachingListener();
More information about the jboss-cvs-commits
mailing list