Skip to content

Commit

Permalink
[7.5] Allow more time for restart tests to reach yellow state.… (#48481)
Browse files Browse the repository at this point in the history
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 9144881 commit 3c6e5f0
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 3c6e5f0

Please sign in to comment.