From a4614daf4669930117240047a5362fe4cd19e3fc Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Thu, 24 Oct 2019 12:07:02 -0500 Subject: [PATCH] Allow more time for restart tests to reach yellow state. (#48434) (#48480) The testWatcher method will on occasion timeout waiting for a yellow cluster state. This change increases the timeout to 60s. --- .../org/elasticsearch/xpack/restart/FullClusterRestartIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java b/x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java index 87c17f19110..f6be2359b6c 100644 --- a/x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java +++ b/x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java @@ -602,7 +602,7 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase { private void waitForYellow(String indexName) throws IOException { Request request = new Request("GET", "/_cluster/health/" + indexName); request.addParameter("wait_for_status", "yellow"); - request.addParameter("timeout", "30s"); + request.addParameter("timeout", "60s"); request.addParameter("wait_for_no_relocating_shards", "true"); if (getOldClusterVersion().onOrAfter(Version.V_6_2_0)) { request.addParameter("wait_for_no_initializing_shards", "true");