Skip to content

Commit

Permalink
NO-JIRA Extend some timeouts to try and stabilize some CI jobs
Browse files Browse the repository at this point in the history
Some CI boxes are slow enough that these timeouts seem to need extended
  • Loading branch information
tabish121 committed Sep 19, 2024
1 parent 198deba commit c7c43cc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
/**
* Test client implementation of basic connection recovery and its configuration.
*/
@Timeout(20)
@Timeout(30)
public class ReconnectTest extends ImperativeClientTestCase {

@Test
Expand Down Expand Up @@ -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();

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit c7c43cc

Please sign in to comment.