You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2016/07/26 13:06:17 UTC
activemq git commit: AMQ-6370 - speed up the test and wait a bit
longer for sends in slow ci
Repository: activemq
Updated Branches:
refs/heads/master 01cfa7727 -> 298565160
AMQ-6370 - speed up the test and wait a bit longer for sends in slow ci
Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/29856516
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/29856516
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/29856516
Branch: refs/heads/master
Commit: 29856516098ba3edc0d1cd5d68bc70beeae1e73d
Parents: 01cfa77
Author: gtully <ga...@gmail.com>
Authored: Tue Jul 26 14:06:02 2016 +0100
Committer: gtully <ga...@gmail.com>
Committed: Tue Jul 26 14:06:02 2016 +0100
----------------------------------------------------------------------
.../apache/activemq/store/jdbc/JDBCCleanupLimitedPoolTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq/blob/29856516/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCCleanupLimitedPoolTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCCleanupLimitedPoolTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCCleanupLimitedPoolTest.java
index ec67d1b..c9aa06b 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCCleanupLimitedPoolTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCCleanupLimitedPoolTest.java
@@ -92,7 +92,7 @@ public class JDBCCleanupLimitedPoolTest {
@Test
public void testNoDeadlockOnXaPoolExhaustion() throws Exception {
final CountDownLatch done = new CountDownLatch(1);
- final CountDownLatch doneCommit = new CountDownLatch(2000);
+ final CountDownLatch doneCommit = new CountDownLatch(1000);
final ActiveMQXAConnectionFactory factory = new ActiveMQXAConnectionFactory(broker.getTransportConnectorByScheme("tcp").getPublishableConnectString());
@@ -141,7 +141,7 @@ public class JDBCCleanupLimitedPoolTest {
});
executorService.shutdown();
- boolean allComplete = executorService.awaitTermination(20, TimeUnit.SECONDS);
+ boolean allComplete = executorService.awaitTermination(40, TimeUnit.SECONDS);
done.countDown();
assertTrue("all complete", allComplete);
executorService.shutdownNow();