Skip to content

Commit af69818

Browse files
Increase Timeout in UnicastZenPingTests (#38893)
* Just like #37268 removing another 1s timeout, those are dangerous since they're easily exceeded by an untimely gc pause * Closes #26701
1 parent 0bc1896 commit af69818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/elasticsearch/discovery/zen/UnicastZenPingTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ PingCollection pingAndWait() throws ExecutionException, InterruptedException {
839839
markTaskAsStarted("send pings");
840840
markTaskAsStarted("send pings");
841841
final AtomicReference<PingCollection> response = new AtomicReference<>();
842-
ping(response::set, TimeValue.timeValueMillis(1), TimeValue.timeValueSeconds(1));
842+
ping(response::set, TimeValue.timeValueMillis(1), TimeValue.timeValueSeconds(30));
843843
pingingRoundClosed.await();
844844
final PingCollection result = response.get();
845845
assertNotNull("pinging didn't complete", result);

0 commit comments

Comments
 (0)