You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2015/08/06 20:52:48 UTC
activemq git commit: Increase the test timeout,
passes locally if given enough time.
Repository: activemq
Updated Branches:
refs/heads/master 2b7bb6f81 -> 70ef9b7e3
Increase the test timeout, passes locally if given enough time.
Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/70ef9b7e
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/70ef9b7e
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/70ef9b7e
Branch: refs/heads/master
Commit: 70ef9b7e3743ef036326bf540a8e57f32bd510c7
Parents: 2b7bb6f
Author: Timothy Bish <ta...@gmail.com>
Authored: Thu Aug 6 14:52:18 2015 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Thu Aug 6 14:52:40 2015 -0400
----------------------------------------------------------------------
.../test/java/org/apache/activemq/usecases/MemoryLimitTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq/blob/70ef9b7e/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/MemoryLimitTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/MemoryLimitTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/MemoryLimitTest.java
index d2b1be8..760876c 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/MemoryLimitTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/MemoryLimitTest.java
@@ -97,7 +97,7 @@ public class MemoryLimitTest extends TestSupport {
}
}
- @Test(timeout = 120000)
+ @Test(timeout = 640000)
public void testCursorBatch() throws Exception {
ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory("vm://localhost?jms.prefetchPolicy.all=10");
@@ -150,7 +150,7 @@ public class MemoryLimitTest extends TestSupport {
for (int i = 1; i < 2000; i++) {
msg = consumer.receive(5000);
if (msg == null) {
- dumpAllThreads("NoMessage");
+ dumpAllThreads("NoMessage");
}
assertNotNull("Didn't receive message " + i, msg);
msg.acknowledge();