Skip to content

Commit a4614da

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

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
@@ -602,7 +602,7 @@ private void assertBasicWatchInteractions() throws Exception {
602602
private void waitForYellow(String indexName) throws IOException {
603603
Request request = new Request("GET", "/_cluster/health/" + indexName);
604604
request.addParameter("wait_for_status", "yellow");
605-
request.addParameter("timeout", "30s");
605+
request.addParameter("timeout", "60s");
606606
request.addParameter("wait_for_no_relocating_shards", "true");
607607
if (getOldClusterVersion().onOrAfter(Version.V_6_2_0)) {
608608
request.addParameter("wait_for_no_initializing_shards", "true");

0 commit comments

Comments
 (0)