You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2016/05/09 21:47:26 UTC
qpid-jms git commit: Add some extra time on the wait for message to
make this more stable in slow CI where the write into the message store
before dispatch can lag.
Repository: qpid-jms
Updated Branches:
refs/heads/master 144e690a3 -> ccb53fd8e
Add some extra time on the wait for message to make this more stable in
slow CI where the write into the message store before dispatch can lag.
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/ccb53fd8
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/ccb53fd8
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/ccb53fd8
Branch: refs/heads/master
Commit: ccb53fd8ef34f738167292dd36267f479532e016
Parents: 144e690
Author: Timothy Bish <ta...@gmail.com>
Authored: Mon May 9 17:47:08 2016 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Mon May 9 17:47:08 2016 -0400
----------------------------------------------------------------------
.../org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/ccb53fd8/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java
index 43480db..38e60dc 100644
--- a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java
+++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsMessageConsumerTest.java
@@ -180,7 +180,7 @@ public class JmsMessageConsumerTest extends AmqpTestSupport {
*
* @throws Exception on error found during test run.
*/
- @Test(timeout=60000)
+ @Test(timeout = 60000)
public void testConsumerReceiveBeforeMessageDispatched() throws Exception {
final Connection connection = createAmqpConnection();
this.connection = connection;
@@ -207,7 +207,7 @@ public class JmsMessageConsumerTest extends AmqpTestSupport {
assertNotNull(msg);
}
- @Test(timeout=60000)
+ @Test(timeout = 60000)
public void testAsynchronousMessageConsumption() throws Exception {
final int msgCount = 4;
final Connection connection = createAmqpConnection();
@@ -232,7 +232,7 @@ public class JmsMessageConsumerTest extends AmqpTestSupport {
});
sendToAmqQueue(msgCount);
- assertTrue(done.await(1000, TimeUnit.MILLISECONDS));
+ assertTrue(done.await(5000, TimeUnit.MILLISECONDS));
assertEquals(msgCount, counter.get());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org