This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch 1.x
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git


The following commit(s) were added to refs/heads/1.x by this push:
     new 91df06f1 NO-JIRA: tweak test to retry less, try to make more resilient 
for slow CI envs
91df06f1 is described below

commit 91df06f177b9da95be08040145692865e9903507
Author: Robbie Gemmell <[email protected]>
AuthorDate: Thu Sep 12 16:53:01 2024 +0100

    NO-JIRA: tweak test to retry less, try to make more resilient for slow CI 
envs
---
 .../apache/qpid/jms/provider/failover/FailoverIntegrationTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverIntegrationTest.java
 
b/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverIntegrationTest.java
index a6e350a8..3585c994 100644
--- 
a/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverIntegrationTest.java
+++ 
b/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverIntegrationTest.java
@@ -2623,7 +2623,7 @@ public class FailoverIntegrationTest extends 
QpidJmsTestCase {
             testPeer.expectBegin();
 
             final JmsConnection connection = establishAnonymousConnecton(
-                
"failover.maxReconnectAttempts=3&failover.useReconnectBackOff=false", testPeer);
+                
"failover.maxReconnectAttempts=2&failover.useReconnectBackOff=false", testPeer);
             connection.addConnectionListener(new 
JmsDefaultConnectionListener() {
                 @Override
                 public void onConnectionEstablished(URI remoteURI) {
@@ -2669,7 +2669,7 @@ public class FailoverIntegrationTest extends 
QpidJmsTestCase {
                 LOG.debug("Commit threw: ", jmsEx);
             }
 
-            assertTrue(failedConnection.await(5, TimeUnit.SECONDS), "Should 
reported failed");
+            assertTrue(failedConnection.await(6, TimeUnit.SECONDS), "Should 
reported failed");
 
             try {
                 connection.close();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to