From c11085e23c98960df1d5af6368b7b6628409a83b Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Mon, 4 Nov 2019 11:35:27 -0600 Subject: [PATCH] =?UTF-8?q?Mute=20FullClusterRestartTest#testWatcher=20and?= =?UTF-8?q?=2030s=20timeout=20for=20ye=E2=80=A6=20(#48848)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The timeout was increased to 60s to allow this test more time to reach a yellow state. However, the test will still on occasion fail even with the 60s timeout. Related: #48381 Related: #48434 Related: #47950 Related: #40178 --- .../org/elasticsearch/xpack/restart/FullClusterRestartIT.java | 3 ++- 1 file changed, 2 insertions(+), 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 f6be2359b6c96..289626ff1135b 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 @@ -145,6 +145,7 @@ public void testSecurityNativeRealm() throws Exception { } @SuppressWarnings("unchecked") + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/48381") public void testWatcher() throws Exception { if (isRunningAgainstOldCluster()) { logger.info("Adding a watch on old cluster {}", getOldClusterVersion()); @@ -602,7 +603,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", "60s"); + request.addParameter("timeout", "30s"); request.addParameter("wait_for_no_relocating_shards", "true"); if (getOldClusterVersion().onOrAfter(Version.V_6_2_0)) { request.addParameter("wait_for_no_initializing_shards", "true");