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:
Robert Davies 2008-01-18 19:49:56 +00:00
parent 8d11f07a96
commit 8f190f188b
1 changed files with 1 additions and 1 deletions

View File

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