activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [activemq-artemis] branch master updated: ARTEMIS-2327 Simple test fix
Date Mon, 06 May 2019 13:25:38 GMT
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
     new 415ff9b  ARTEMIS-2327 Simple test fix
415ff9b is described below

commit 415ff9b26a8389d2a9c4636b51ffeec29756ecab
Author: Clebert Suconic <clebertsuconic@apache.org>
AuthorDate: Mon May 6 09:19:13 2019 -0400

    ARTEMIS-2327 Simple test fix
    
    This test is playing with a timeout.
    Since a timeout now will issue an Exception on the channel, this test needs to reconnect.
---
 .../org/apache/activemq/artemis/tests/integration/xa/XaTimeoutTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/XaTimeoutTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/XaTimeoutTest.java
index 99dc4e2..f8578aa 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/XaTimeoutTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/XaTimeoutTest.java
@@ -646,7 +646,7 @@ public class XaTimeoutTest extends ActiveMQTestBase {
       }
       server.getRemotingService().addIncomingInterceptor(new SomeInterceptor());
 
-      ServerLocator locatorTimeout = createInVMNonHALocator().setCallTimeout(300);
+      ServerLocator locatorTimeout = createInVMNonHALocator().setCallTimeout(300).setReconnectAttempts(-1);
       ClientSessionFactory factoryTimeout = locatorTimeout.createSessionFactory();
 
       final ClientSession sessionTimeout = factoryTimeout.createSession(true, false, false);


Mime
View raw message