Skip to content

Commit

Permalink
Increase timeout for cluster status call in BWC
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <[email protected]>
  • Loading branch information
martin-gaievski committed Sep 5, 2024
1 parent 914898a commit 49d9ee0
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 49d9ee0

Please sign in to comment.