Skip to content

Commit 28bfa6e

Browse files
authored
Allow more time for restart tests to reach yellow state. (#48434)
The testWatcher method will on occasion timeout waiting for a yellow cluster state. This change increases the timeout to 60s.
1 parent 12d32af commit 28bfa6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ private void assertBasicWatchInteractions() throws Exception {
404404
private void waitForYellow(String indexName) throws IOException {
405405
Request request = new Request("GET", "/_cluster/health/" + indexName);
406406
request.addParameter("wait_for_status", "yellow");
407-
request.addParameter("timeout", "30s");
407+
request.addParameter("timeout", "60s");
408408
request.addParameter("wait_for_no_relocating_shards", "true");
409409
request.addParameter("wait_for_no_initializing_shards", "true");
410410
Map<String, Object> response = entityAsMap(client().performRequest(request));

0 commit comments

Comments
 (0)