Skip to content

Commit

Permalink
Increase timeout for cluster status call in BWC (#892) (#894)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <[email protected]>
(cherry picked from commit 22f36c5)

Co-authored-by: Martin Gaievski <[email protected]>
  • Loading branch information
1 parent 8646863 commit 6348805
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,8 @@ protected void waitForClusterHealthGreen(final String numOfNodes) throws IOExcep
Request waitForGreen = new Request("GET", "/_cluster/health");
waitForGreen.addParameter("wait_for_nodes", numOfNodes);
waitForGreen.addParameter("wait_for_status", "green");
waitForGreen.addParameter("cluster_manager_timeout", "60s");
waitForGreen.addParameter("timeout", "60s");
client().performRequest(waitForGreen);
}

Expand Down

0 comments on commit 6348805

Please sign in to comment.