mirror of https://github.com/apache/activemq.git
increase the amount of time to receive messages - to try prevent intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@613244 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8d11f07a96
commit
8f190f188b
|
@ -91,7 +91,7 @@ public class DurableConsumerTest extends TestCase {
|
|||
consumer = consumerSession.createDurableSubscriber(topic, CONSUMER_NAME);
|
||||
consumerConnection.start();
|
||||
for (int i =0; i < COUNT;i++) {
|
||||
Message msg = consumer.receive(1000);
|
||||
Message msg = consumer.receive(5000);
|
||||
assertNotNull(msg);
|
||||
if (i != 0 && i%1000==0) {
|
||||
LOG.info("Received msg " + i);
|
||||
|
|
Loading…
Reference in New Issue