From 95da76d9e45e6ea09054ee98224816d718b15877 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Tue, 8 Jul 2025 14:30:14 -0600 Subject: [PATCH] Allow up to 15 seconds for agent reconnect (#10811) --- .../test/java/hudson/node_monitors/ResponseTimeMonitorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/test/java/hudson/node_monitors/ResponseTimeMonitorTest.java b/test/src/test/java/hudson/node_monitors/ResponseTimeMonitorTest.java index 6e513b2a37..99b9d85c27 100644 --- a/test/src/test/java/hudson/node_monitors/ResponseTimeMonitorTest.java +++ b/test/src/test/java/hudson/node_monitors/ResponseTimeMonitorTest.java @@ -51,7 +51,7 @@ public class ResponseTimeMonitorTest { assertNull(ResponseTimeMonitor.DESCRIPTOR.monitor(c)); // Retry to compensate for test being flaky in CI - await().atMost(5, TimeUnit.SECONDS) + await().atMost(15, TimeUnit.SECONDS) .ignoreException(ExecutionException.class) .until(() -> { // Now reconnect and make sure we get a non-null response.