From 5f8cd395aaf0ba81b77c6e1b1c1b4ab15d86cb86 Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Tue, 4 Jan 2022 15:51:13 -0600 Subject: [PATCH] [7.16] Fix Watcher testWatcherWithApiKey (#82136) (#82230) --- .../elasticsearch/xpack/restart/FullClusterRestartIT.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 d3a46794fdd99..e9f404afbc453 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 @@ -233,7 +233,6 @@ public void testWatcher() throws Exception { } @SuppressWarnings("unchecked") - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/77026") public void testWatcherWithApiKey() throws Exception { assumeTrue("API key is available since 6.7.0", getOldClusterVersion().onOrAfter(Version.V_6_7_0)); if (isRunningAgainstOldCluster()) { @@ -259,7 +258,7 @@ public void testWatcherWithApiKey() throws Exception { final Map getWatchStatusResponse = entityAsMap(client().performRequest(getRequest)); final Map status = (Map) getWatchStatusResponse.get("status"); assertEquals("executed", status.get("execution_state")); - }); + }, 30, TimeUnit.SECONDS); } else { logger.info("testing against {}", getOldClusterVersion()); @@ -299,7 +298,7 @@ public void testWatcherWithApiKey() throws Exception { versionIncreased.get() && executed.get(), is(true) ); - }); + }, 30, TimeUnit.SECONDS); } finally { stopWatcher(); }