activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andytay...@apache.org
Subject [1/4] activemq-6 git commit: Increase timeouts for slower environments
Date Thu, 05 Mar 2015 09:18:17 GMT
Repository: activemq-6
Updated Branches:
  refs/heads/master 242a5fac8 -> 3ba99e74b


Increase timeouts for slower environments


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

Branch: refs/heads/master
Commit: 63064506e091d5e622a37a9365e4bc793c6151a1
Parents: 080c1dd
Author: jbertram <jbertram@redhat.com>
Authored: Wed Mar 4 13:52:19 2015 -0600
Committer: jbertram <jbertram@redhat.com>
Committed: Wed Mar 4 14:44:24 2015 -0600

----------------------------------------------------------------------
 .../test/java/org/apache/activemq/tests/util/ServiceTestBase.java  | 2 +-
 .../tests/integration/jms/cluster/LargeMessageOverBridgeTest.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-6/blob/63064506/activemq-server/src/test/java/org/apache/activemq/tests/util/ServiceTestBase.java
----------------------------------------------------------------------
diff --git a/activemq-server/src/test/java/org/apache/activemq/tests/util/ServiceTestBase.java
b/activemq-server/src/test/java/org/apache/activemq/tests/util/ServiceTestBase.java
index f6ffbc7..4e42b84 100644
--- a/activemq-server/src/test/java/org/apache/activemq/tests/util/ServiceTestBase.java
+++ b/activemq-server/src/test/java/org/apache/activemq/tests/util/ServiceTestBase.java
@@ -90,7 +90,7 @@ public abstract class ServiceTestBase extends UnitTestCase
     * debugging.
     */
    private static final String SEND_CALL_NUMBER = "sendCallNumber";
-   protected static final long WAIT_TIMEOUT = 10000;
+   protected static final long WAIT_TIMEOUT = 20000;
    private int sendMsgCount = 0;
 
    @Override

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/63064506/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/jms/cluster/LargeMessageOverBridgeTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/jms/cluster/LargeMessageOverBridgeTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/jms/cluster/LargeMessageOverBridgeTest.java
index f926e9d..50ab085 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/jms/cluster/LargeMessageOverBridgeTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/jms/cluster/LargeMessageOverBridgeTest.java
@@ -161,7 +161,7 @@ public class LargeMessageOverBridgeTest extends JMSClusteredTestBase
 
       for (int i = 0; i < 5; i++)
       {
-         BytesMessage msg2 = (BytesMessage) cons2.receive(5000);
+         BytesMessage msg2 = (BytesMessage) cons2.receive(10000);
          assertNotNull(msg2);
          msg2.acknowledge();
 


Mime
View raw message