Add sleep back which allows the producers to wait for the bridge
formation.
This commit is contained in:
Timothy Bish 2016-04-25 18:41:00 -04:00
parent e47edd7a28
commit 765a010d04
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,8 @@ public abstract class JmsSendReceiveTestSupport extends org.apache.activemq.Test
* @throws Exception * @throws Exception
*/ */
public void testSendReceive() throws Exception { public void testSendReceive() throws Exception {
Thread.sleep(100);
sendMessages(); sendMessages();
assertMessagesAreReceived(); assertMessagesAreReceived();