You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2018/08/21 13:37:34 UTC
qpid-jms git commit: NO-JIRA: tweak timeouts,
avoid spurious failure if CI is a little slow
Repository: qpid-jms
Updated Branches:
refs/heads/master 6076c5842 -> e3e0452cb
NO-JIRA: tweak timeouts, avoid spurious failure if CI is a little slow
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/e3e0452c
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/e3e0452c
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/e3e0452c
Branch: refs/heads/master
Commit: e3e0452cb71ba7eb1be220733f7a17ec7d353ff0
Parents: 6076c58
Author: Robbie Gemmell <ro...@apache.org>
Authored: Tue Aug 21 14:28:10 2018 +0100
Committer: Robbie Gemmell <ro...@apache.org>
Committed: Tue Aug 21 14:28:10 2018 +0100
----------------------------------------------------------------------
.../apache/qpid/jms/integration/ProducerIntegrationTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/e3e0452c/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java
index 584a00b..ce484ec 100644
--- a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java
+++ b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java
@@ -2840,7 +2840,7 @@ public class ProducerIntegrationTest extends QpidJmsTestCase {
fail("No expected exception for this send.");
}
- testPeer.waitForAllHandlersToComplete(100);
+ testPeer.waitForAllHandlersToComplete(2000);
assertFalse("Should not get async callback", listener.awaitCompletion(10, TimeUnit.MILLISECONDS));
@@ -2893,7 +2893,7 @@ public class ProducerIntegrationTest extends QpidJmsTestCase {
assertNull("Should not yet have a JMSDestination", message.getJMSDestination());
MessageProducer producer = session.createProducer(queue);
- testPeer.waitForAllHandlersToComplete(100);
+ testPeer.waitForAllHandlersToComplete(2000);
assertTrue("Producer should have been closed", producerClosed.await(2, TimeUnit.SECONDS));
@@ -2947,7 +2947,7 @@ public class ProducerIntegrationTest extends QpidJmsTestCase {
assertNull("Should not yet have a JMSDestination", message.getJMSDestination());
MessageProducer producer = session.createProducer(queue);
- testPeer.waitForAllHandlersToComplete(100);
+ testPeer.waitForAllHandlersToComplete(2000);
assertTrue("Session should have been closed", sessionClosed.await(2, TimeUnit.SECONDS));
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org