Skip to content

Commit 95da76d

Browse files
authored
Allow up to 15 seconds for agent reconnect (jenkinsci#10811)
1 parent 0264318 commit 95da76d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/test/java/hudson/node_monitors/ResponseTimeMonitorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void skipOfflineAgent() throws Exception {
5151
assertNull(ResponseTimeMonitor.DESCRIPTOR.monitor(c));
5252

5353
// Retry to compensate for test being flaky in CI
54-
await().atMost(5, TimeUnit.SECONDS)
54+
await().atMost(15, TimeUnit.SECONDS)
5555
.ignoreException(ExecutionException.class)
5656
.until(() -> {
5757
// Now reconnect and make sure we get a non-null response.

0 commit comments

Comments
 (0)