added sleep to let subscriptions get propagated

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375720 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2006-02-07 21:38:21 +00:00
parent e6f5d3026e
commit dbf3e5682b
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class ThreeBrokerQueueNetworkTest extends JmsMultipleBrokersTestSupport {
// Setup consumers // Setup consumers
MessageConsumer clientA = createConsumer("BrokerA", dest); MessageConsumer clientA = createConsumer("BrokerA", dest);
MessageConsumer clientC = createConsumer("BrokerC", dest); MessageConsumer clientC = createConsumer("BrokerC", dest);
Thread.sleep(2000); //et subscriptions get propagated
// Send messages // Send messages
sendMessages("BrokerB", dest, MESSAGE_COUNT); sendMessages("BrokerB", dest, MESSAGE_COUNT);