ARTEMIS-307 JMSIndividualAckTest#testAckedMessageAreConsumed fails on slower machines
The issue is solved by increasing timeout in consumer.receive method.
This commit is contained in:
parent
2eecfdc71e
commit
5dab6b8ed9
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue