From a67debfb6d731696a24376d71078775507fd341b Mon Sep 17 00:00:00 2001 From: Martin Gaievski Date: Thu, 5 Sep 2024 10:53:19 -0700 Subject: [PATCH] Increase timeout for cluster status call in BWC (#892) Signed-off-by: Martin Gaievski (cherry picked from commit 22f36c5f4f44d8efcd346f3cb7b40790e69dc4c8) --- .../java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java b/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java index 204643de5..7ad0e63f8 100644 --- a/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java +++ b/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java @@ -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); }