Skip to content

Commit

Permalink
Increase timeout for cluster status call in BWC (#892) (#893)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
(cherry picked from commit 22f36c5)

Co-authored-by: Martin Gaievski <gaievski@amazon.com>
  • Loading branch information
1 parent 0d79301 commit df17bff
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,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 df17bff

Please sign in to comment.