From 237f83578fd761c8aea8bb5a65ce69a5e0e35f30 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Fri, 11 Feb 2011 12:38:13 +0000 Subject: [PATCH] give bridge formation more time after a restart git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069781 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/usecases/NetworkOfTwentyBrokersTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/activemq-core/src/test/java/org/apache/activemq/usecases/NetworkOfTwentyBrokersTest.java b/activemq-core/src/test/java/org/apache/activemq/usecases/NetworkOfTwentyBrokersTest.java index 4d0a6217ee..c968127ef7 100644 --- a/activemq-core/src/test/java/org/apache/activemq/usecases/NetworkOfTwentyBrokersTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/usecases/NetworkOfTwentyBrokersTest.java @@ -129,6 +129,12 @@ public class NetworkOfTwentyBrokersTest extends JmsMultipleBrokersTestSupport { startAllBrokers(); waitForBridgeFormation(X-1); + LOG.info("Waiting for complete reformation"); + try { + Thread.sleep(10000); + } catch (Exception e) { + } + verifyPeerBrokerInfos(X-1); }