[hornetq-commits] JBoss hornetq SVN: r11030 - 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
Fri Jul 22 10:02:05 EDT 2011


Author: borges
Date: 2011-07-22 10:02:05 -0400 (Fri, 22 Jul 2011)
New Revision: 11030

Modified:
   branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedDistributionTest.java
Log:
Fix test set-up

Modified: branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedDistributionTest.java
===================================================================
--- branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedDistributionTest.java	2011-07-22 14:01:21 UTC (rev 11029)
+++ branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedDistributionTest.java	2011-07-22 14:02:05 UTC (rev 11030)
@@ -111,11 +111,11 @@
          fail(sessionThree);
 
          // sessionThree.close();
-         //         
+         //
          // setupSessionFactory(2, -1, true);
-         //         
+         //
          // sessionThree = sfs[2].createSession(true, true);
-         //         
+         //
          // sessionThree.start();
 
          // consThree = sessionThree.createConsumer(ADDRESS);
@@ -269,7 +269,7 @@
 
       setupLiveServer(1, true, isShared(), true);
       setupBackupServer(2, 1, true, isShared(), true);
-      setupBackupServer(3, 1, true, isShared(), true);
+      setupLiveServer(3, true, isShared(), true);
 
       setupClusterConnectionWithBackups("test", "test", false, 1, true, 1, new int[] { 3 });
 



More information about the hornetq-commits mailing list