You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2016/02/10 22:36:22 UTC
[1/2] activemq-artemis git commit: ARTEMIS-287 - [Artemis Testsuite]
PagingTest#testDeleteQueueRestart fails on slower machines
Repository: activemq-artemis
Updated Branches:
refs/heads/master ece5d81e3 -> 66085ae7f
ARTEMIS-287 - [Artemis Testsuite] PagingTest#testDeleteQueueRestart fails on slower machines
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/ce906c84
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/ce906c84
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/ce906c84
Branch: refs/heads/master
Commit: ce906c8420e156785f3231c69fd2a8b29425375a
Parents: ece5d81
Author: Erich Duda <ed...@redhat.com>
Authored: Wed Feb 10 16:45:30 2016 +0100
Committer: Erich Duda <ed...@redhat.com>
Committed: Wed Feb 10 16:45:30 2016 +0100
----------------------------------------------------------------------
.../activemq/artemis/tests/integration/client/PagingTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/ce906c84/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java
index 1efb971..4f64f42 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java
@@ -790,10 +790,10 @@ public class PagingTest extends ActiveMQTestBase {
producer.close();
session.start();
- long timeout = System.currentTimeMillis() + 10000;
+ long timeout = System.currentTimeMillis() + 30000;
// I want the buffer full to make sure there are pending messages on the server's side
- while (System.currentTimeMillis() < timeout && cons.getBufferSize() < 1000 && cons2.getBufferSize() < 1000) {
+ while (System.currentTimeMillis() < timeout && (cons.getBufferSize() < 1000 || cons2.getBufferSize() < 1000)) {
System.out.println("cons1 buffer = " + cons.getBufferSize() + ", cons2 buffer = " + cons2.getBufferSize());
Thread.sleep(100);
}
[2/2] activemq-artemis git commit: This closes #386
Posted by cl...@apache.org.
This closes #386
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/66085ae7
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/66085ae7
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/66085ae7
Branch: refs/heads/master
Commit: 66085ae7fe9445e2be2c300af0d69db8b6790c36
Parents: ece5d81 ce906c8
Author: Clebert Suconic <cl...@apache.org>
Authored: Wed Feb 10 16:35:55 2016 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Feb 10 16:35:55 2016 -0500
----------------------------------------------------------------------
.../activemq/artemis/tests/integration/client/PagingTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------