From 28bfa6e138a2e6d20edf1331613926b659b3dffa Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Thu, 24 Oct 2019 08:50:23 -0500 Subject: [PATCH] Allow more time for restart tests to reach yellow state. (#48434) 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 1f6515182337d..69db9fb9fdb36 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 @@ -404,7 +404,7 @@ private void assertBasicWatchInteractions() throws Exception { 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"); request.addParameter("wait_for_no_initializing_shards", "true"); Map response = entityAsMap(client().performRequest(request));