mirror of https://github.com/apache/activemq.git
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:
parent
e6f5d3026e
commit
dbf3e5682b
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue