activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r613244 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java
Date Fri, 18 Jan 2008 19:49:56 GMT
Author: rajdavies
Date: Fri Jan 18 11:49:56 2008
New Revision: 613244

URL: http://svn.apache.org/viewvc?rev=613244&view=rev
Log:
increase the amount of time to receive messages - to try prevent intermittent failure

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java?rev=613244&r1=613243&r2=613244&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java
Fri Jan 18 11:49:56 2008
@@ -91,7 +91,7 @@
         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);



Mime
View raw message