[hornetq-commits] JBoss hornetq SVN: r9650 - branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/cluster/failover.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Sep 7 09:09:45 EDT 2010


Author: jmesnil
Date: 2010-09-07 09:09:45 -0400 (Tue, 07 Sep 2010)
New Revision: 9650

Modified:
   branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/cluster/failover/AsynchronousFailoverTest.java
Log:
fix the test by closing the locator at the end of the run

Modified: branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/cluster/failover/AsynchronousFailoverTest.java
===================================================================
--- branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/cluster/failover/AsynchronousFailoverTest.java	2010-09-07 09:31:01 UTC (rev 9649)
+++ branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/integration/cluster/failover/AsynchronousFailoverTest.java	2010-09-07 13:09:45 UTC (rev 9650)
@@ -226,6 +226,8 @@
 
             Assert.assertEquals(0, sf.numSessions());
 
+            locator.close();
+            
             Assert.assertEquals(0, sf.numConnections());
 
             if (i != numIts - 1)



More information about the hornetq-commits mailing list