[hornetq-commits] JBoss hornetq SVN: r11043 - branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Jul 25 11:10:20 EDT 2011


Author: borges
Date: 2011-07-25 11:10:19 -0400 (Mon, 25 Jul 2011)
New Revision: 11043

Modified:
   branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ClusterWithBackupFailoverTestBase.java
Log:
Revert changes to expected bindings. Current suspition is that this is caused
 by backup nodes having different nodeID from their servers.

Modified: branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ClusterWithBackupFailoverTestBase.java
===================================================================
--- branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ClusterWithBackupFailoverTestBase.java	2011-07-25 15:07:19 UTC (rev 11042)
+++ branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ClusterWithBackupFailoverTestBase.java	2011-07-25 15:10:19 UTC (rev 11043)
@@ -368,8 +368,8 @@
       waitForBindings(2, QUEUES_TESTADDRESS, 1, 1, true);
 
       // live nodes
-      waitForBindings(1, QUEUES_TESTADDRESS, 2, 1, false);
-      waitForBindings(2, QUEUES_TESTADDRESS, 2, 1, false);
+      waitForBindings(1, QUEUES_TESTADDRESS, 1, 1, false);
+      waitForBindings(2, QUEUES_TESTADDRESS, 1, 1, false);
 
       send(1, QUEUES_TESTADDRESS, 10, false, null);
       verifyReceiveRoundRobinInSomeOrder(true, 10, 1, 2);
@@ -385,7 +385,7 @@
       waitForBindings(4, QUEUES_TESTADDRESS, 1, 1, true);
 
       // live nodes
-      waitForBindings(2, QUEUES_TESTADDRESS, 2, 1, false);
+      waitForBindings(2, QUEUES_TESTADDRESS, 1, 1, false);
       // activated backup nodes
       waitForBindings(4, QUEUES_TESTADDRESS, 1, 1, false);
 
@@ -401,7 +401,7 @@
       // live nodes
       waitForBindings(2, QUEUES_TESTADDRESS, 1, 1, true);
       // live nodes
-      waitForBindings(2, QUEUES_TESTADDRESS, 2, 0, false);
+      waitForBindings(2, QUEUES_TESTADDRESS, 1, 0, false);
 
       send(2, QUEUES_TESTADDRESS, 10, false, null);
       verifyReceiveRoundRobinInSomeOrder(true, 10, 2);



More information about the hornetq-commits mailing list