From cb3f7746134a39cf11e16910db485aa0d1b0cbd6 Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Tue, 21 Mar 2006 05:14:04 +0000 Subject: [PATCH] Doing a sleep inside the send loop makes TwoBrokerTopicSendReceiveLotsOfMessagesUsingTcpTest take forever! git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@387417 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/activemq/test/JmsSendReceiveTestSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/test/JmsSendReceiveTestSupport.java b/activemq-core/src/test/java/org/apache/activemq/test/JmsSendReceiveTestSupport.java index 9a41ef2b56..fcd2bca675 100755 --- a/activemq-core/src/test/java/org/apache/activemq/test/JmsSendReceiveTestSupport.java +++ b/activemq-core/src/test/java/org/apache/activemq/test/JmsSendReceiveTestSupport.java @@ -105,9 +105,9 @@ public class JmsSendReceiveTestSupport extends TestSupport implements MessageLis public void testSendReceive() throws Exception { messages.clear(); + Thread.sleep(1000); for (int i = 0; i < data.length; i++) { Message message = session.createTextMessage(data[i]); - Thread.sleep(200); if (verbose) { log.info("About to send a message: " + message + " with text: " + data[i]); }