activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1084573 - /activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java
Date Wed, 23 Mar 2011 13:13:15 GMT
Author: gtully
Date: Wed Mar 23 13:13:14 2011
New Revision: 1084573

URL: http://svn.apache.org/viewvc?rev=1084573&view=rev
Log:
see if the pool shutdown later helps

Modified:
    activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java

Modified: activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java?rev=1084573&r1=1084572&r2=1084573&view=diff
==============================================================================
--- activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java (original)
+++ activemq/trunk/activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java Wed
Mar 23 13:13:14 2011
@@ -176,11 +176,11 @@ public class LoadBalanceTest {
                     return null;
                 }
             });
-            pool.shutdown();
 
             waitForBridgeFormation(10000);
             startProducer.countDown();
 
+            pool.shutdown();
             pool.awaitTermination(10, TimeUnit.SECONDS);
             LOG.info("broker1Count " + broker1Count.get() + ", broker2Count " + broker2Count.get());
 



Mime
View raw message