From 8f190f188b0b8c1d05603323922c7a6ee45c0c3d Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Fri, 18 Jan 2008 19:49:56 +0000 Subject: [PATCH] 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 --- .../test/java/org/apache/activemq/bugs/DurableConsumerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java b/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java index 2c4dbcfb37..bd2ee318c5 100755 --- a/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java @@ -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);