activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject [1/2] activemq git commit: [no jira] more lenient for ci builds - intermittetnt failure
Date Fri, 27 Oct 2017 10:40:21 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 8e576be1d -> 2ea5d1420


[no jira] more lenient for ci builds - intermittetnt failure


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/005403e9
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/005403e9
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/005403e9

Branch: refs/heads/master
Commit: 005403e94b6c3e62240b744bfa1f030fa28b77ae
Parents: 8e576be
Author: gtully <gary.tully@gmail.com>
Authored: Fri Oct 27 11:37:04 2017 +0100
Committer: gtully <gary.tully@gmail.com>
Committed: Fri Oct 27 11:37:04 2017 +0100

----------------------------------------------------------------------
 .../org/apache/activemq/broker/scheduler/JmsSchedulerTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/005403e9/activemq-unit-tests/src/test/java/org/apache/activemq/broker/scheduler/JmsSchedulerTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/scheduler/JmsSchedulerTest.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/scheduler/JmsSchedulerTest.java
index 8d5737d..0739070 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/scheduler/JmsSchedulerTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/scheduler/JmsSchedulerTest.java
@@ -156,7 +156,7 @@ public class JmsSchedulerTest extends JobSchedulerTestSupport {
         // make sure the message isn't delivered early
         Thread.sleep(2000);
         assertEquals(latch.getCount(), COUNT);
-        latch.await(5, TimeUnit.SECONDS);
+        latch.await(10, TimeUnit.SECONDS);
         assertEquals(latch.getCount(), 0);
         connection.close();
     }
@@ -225,7 +225,7 @@ public class JmsSchedulerTest extends JobSchedulerTestSupport {
         connection.start();
         session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
         MessageConsumer consumer = session.createConsumer(destination);
-        Message msg = consumer.receive(5000);
+        Message msg = consumer.receive(10000);
         assertNotNull("Didn't receive the message", msg);
 
         //send another message


Mime
View raw message