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