activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-307 JMSIndividualAckTest#testAckedMessageAreConsumed fails on slower machines
Date Tue, 24 Nov 2015 02:40:19 GMT
ARTEMIS-307 JMSIndividualAckTest#testAckedMessageAreConsumed fails on slower machines

The issue is solved by increasing timeout in consumer.receive method.


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/5dab6b8e
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/5dab6b8e
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/5dab6b8e

Branch: refs/heads/master
Commit: 5dab6b8ed9e4fbd536ebdd670f6d607c0f240d77
Parents: 2eecfdc
Author: Erich Duda <eduda@redhat.com>
Authored: Mon Nov 23 10:06:44 2015 +0100
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon Nov 23 21:40:11 2015 -0500

----------------------------------------------------------------------
 .../tests/integration/openwire/amq/JMSIndividualAckTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5dab6b8e/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSIndividualAckTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSIndividualAckTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSIndividualAckTest.java
index d4073da..4a735be 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSIndividualAckTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSIndividualAckTest.java
@@ -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();
 


Mime
View raw message