see if the pool shutdown later helps

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1084573 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-03-23 13:13:14 +00:00
parent 88c10842df
commit 6f5b224ef4
1 changed files with 1 additions and 1 deletions

View File

@ -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());