ARTEMIS-307 JMSIndividualAckTest#testAckedMessageAreConsumed fails on slower machines

The issue is solved by increasing timeout in consumer.receive method.
This commit is contained in:
Erich Duda 2015-11-23 10:06:44 +01:00 committed by Clebert Suconic
parent 2eecfdc71e
commit 5dab6b8ed9
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class JMSIndividualAckTest extends BasicOpenWireTest {
// Consume the message...
MessageConsumer consumer = session.createConsumer(queue);
Message msg = consumer.receive(1000);
Message msg = consumer.receive(5000);
assertNotNull(msg);
msg.acknowledge();