From 22f36c5f4f44d8efcd346f3cb7b40790e69dc4c8 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 --- .../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 da8088fb8..225a20cc7 100644 --- a/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java +++ b/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java @@ -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); }