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

tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git


The following commit(s) were added to refs/heads/main by this push:
     new c7c43cc5 NO-JIRA Extend some timeouts to try and stabilize some CI jobs
c7c43cc5 is described below

commit c7c43cc5bb655b1214f784d46901f377431c7e12
Author: Timothy Bish <[email protected]>
AuthorDate: Thu Sep 19 18:19:13 2024 -0400

    NO-JIRA Extend some timeouts to try and stabilize some CI jobs
    
    Some CI boxes are slow enough that these timeouts seem to need extended
---
 .../java/org/apache/qpid/protonj2/client/impl/ReconnectTest.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/impl/ReconnectTest.java
 
b/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/impl/ReconnectTest.java
index 03d3fa24..383c5e57 100644
--- 
a/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/impl/ReconnectTest.java
+++ 
b/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/impl/ReconnectTest.java
@@ -47,7 +47,7 @@ import org.junit.jupiter.api.Timeout;
 /**
  * Test client implementation of basic connection recovery and its 
configuration.
  */
-@Timeout(20)
+@Timeout(30)
 public class ReconnectTest extends ImperativeClientTestCase {
 
     @Test
@@ -112,7 +112,7 @@ public class ReconnectTest extends ImperativeClientTestCase 
{
             assertTrue(connected.await(5, TimeUnit.SECONDS));
             assertTrue(disconnected.await(5, TimeUnit.SECONDS));
             assertTrue(reconnected.await(5, TimeUnit.SECONDS));
-            assertTrue(failed.await(5, TimeUnit.SECONDS));
+            assertTrue(failed.await(20, TimeUnit.SECONDS));
 
             connection.close();
 
@@ -237,7 +237,7 @@ public class ReconnectTest extends ImperativeClientTestCase 
{
             // Should connect, then fail and attempt to connect to second and 
third before stopping
             assertTrue(connected.await(5, TimeUnit.SECONDS));
             assertTrue(disconnected.await(5, TimeUnit.SECONDS));
-            assertTrue(failed.await(5, TimeUnit.SECONDS));
+            assertTrue(failed.await(20, TimeUnit.SECONDS));
             assertEquals(1, reconnected.getCount());
 
             connection.close();


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

Reply via email to