mirror of
https://github.com/apache/activemq.git
synced 2025-02-06 10:09:28 +00:00
give consumer a little more time for slower hardware
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1181711 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c8f42e72fb
commit
ab9bce6147
@ -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 extends BrokerRestartTestSupport {
|
||||
|
||||
// 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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user