mirror of https://github.com/apache/activemq.git
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:
parent
a2f59ec0ad
commit
9e03278e69
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue