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
This commit is contained in:
Hiram R. Chirino 2006-03-21 05:14:04 +00:00
parent f3ef1a9a31
commit cb3f774613
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}