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]>
(cherry picked from commit 22f36c5)
  • Loading branch information
martin-gaievski authored and github-actions[bot] committed Sep 5, 2024
1 parent 0d79301 commit 01a02f5
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 01a02f5

Please sign in to comment.