Skip to content

Commit

Permalink
Allow more time for restart tests to reach yellow state. (#48434) (#4…
Browse files Browse the repository at this point in the history
…8480)

The testWatcher method will on occasion timeout waiting for
a yellow cluster state. This change increases the timeout
to 60s.
  • Loading branch information
jakelandis authored Oct 24, 2019
1 parent c19379e commit a4614da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ private void assertBasicWatchInteractions() throws Exception {
private void waitForYellow(String indexName) throws IOException {
Request request = new Request("GET", "/_cluster/health/" + indexName);
request.addParameter("wait_for_status", "yellow");
request.addParameter("timeout", "30s");
request.addParameter("timeout", "60s");
request.addParameter("wait_for_no_relocating_shards", "true");
if (getOldClusterVersion().onOrAfter(Version.V_6_2_0)) {
request.addParameter("wait_for_no_initializing_shards", "true");
Expand Down

0 comments on commit a4614da

Please sign in to comment.