Skip to content

Commit

Permalink
Increase timeout for cluster status call in BWC (#892)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <[email protected]>
  • Loading branch information
martin-gaievski authored Sep 5, 2024
1 parent ed95735 commit 22f36c5
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 22f36c5

Please sign in to comment.