activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1181711 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
Date Tue, 11 Oct 2011 11:09:39 GMT
Author: gtully
Date: Tue Oct 11 11:09:39 2011
New Revision: 1181711

URL: http://svn.apache.org/viewvc?rev=1181711&view=rev
Log:
give consumer a little more time for slower hardware

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java?rev=1181711&r1=1181710&r2=1181711&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
Tue Oct 11 11:09:39 2011
@@ -16,6 +16,7 @@
  */
 package org.apache.activemq.broker;
 
+import java.util.concurrent.TimeUnit;
 import javax.jms.JMSException;
 import javax.management.InstanceNotFoundException;
 import javax.management.MalformedObjectNameException;
@@ -205,7 +206,7 @@ public class XARecoveryBrokerTest extend
 
         // We should get the committed transactions.
         for (int i = 0; i < expectedMessageCount(4, destination); i++) {
-            Message m = receiveMessage(connection);
+            Message m = receiveMessage(connection, TimeUnit.SECONDS.toMillis(10));
             assertNotNull(m);
         }
 



Mime
View raw message