allow a bit more time for the message to propagate.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357666 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2012-07-05 15:09:03 +00:00
parent a2f59ec0ad
commit 9e03278e69
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class SimpleNetworkTest {
for (int i = 0; i < MESSAGE_COUNT; i++) {
Message test = localSession.createTextMessage("test-" + i);
producer.send(test);
Message msg = consumer1.receive(1000);
Message msg = consumer1.receive(3000);
assertNotNull(msg);
ActiveMQMessage amqMessage = (ActiveMQMessage) msg;
assertTrue(amqMessage.isCompressed());