From c7c43cc5bb655b1214f784d46901f377431c7e12 Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Thu, 19 Sep 2024 18:19:13 -0400 Subject: [PATCH] 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 --- .../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 03d3fa24a..383c5e571 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 @@ /** * 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 void testConnectionNotifiesReconnectionLifecycleEvents() throws Exception 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 @@ private void testReconnectStopsAfterSaslPermFailure(byte saslCode) throws Except // 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();