From 765a010d04a9c3d51144f70148a0763ed4619b32 Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Mon, 25 Apr 2016 18:41:00 -0400 Subject: [PATCH] https://issues.apache.org/jira/browse/AMQ-5621 Add sleep back which allows the producers to wait for the bridge formation. --- .../org/apache/activemq/test/JmsSendReceiveTestSupport.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/test/JmsSendReceiveTestSupport.java b/activemq-unit-tests/src/test/java/org/apache/activemq/test/JmsSendReceiveTestSupport.java index 8925c171c5..91f62439a7 100755 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/test/JmsSendReceiveTestSupport.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/test/JmsSendReceiveTestSupport.java @@ -105,6 +105,8 @@ public abstract class JmsSendReceiveTestSupport extends org.apache.activemq.Test * @throws Exception */ public void testSendReceive() throws Exception { + Thread.sleep(100); + sendMessages(); assertMessagesAreReceived();