Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F6CC18EB1 for ; Tue, 24 Nov 2015 02:40:20 +0000 (UTC) Received: (qmail 76694 invoked by uid 500); 24 Nov 2015 02:40:20 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 76614 invoked by uid 500); 24 Nov 2015 02:40:20 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 76593 invoked by uid 99); 24 Nov 2015 02:40:19 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2015 02:40:19 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8BFE9E0B30; Tue, 24 Nov 2015 02:40:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: clebertsuconic@apache.org To: commits@activemq.apache.org Date: Tue, 24 Nov 2015 02:40:19 -0000 Message-Id: <26cb8a55e5734180baa9b0351acc6009@git.apache.org> In-Reply-To: <8a3c4843fc83440fa3a51364bef9d384@git.apache.org> References: <8a3c4843fc83440fa3a51364bef9d384@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] activemq-artemis git commit: ARTEMIS-307 JMSIndividualAckTest#testAckedMessageAreConsumed fails on slower machines 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 Authored: Mon Nov 23 10:06:44 2015 +0100 Committer: Clebert Suconic 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();