Skip to content

Commit b8b7516

Browse files
committed
Disable WatcherRestartIT from 7.7.0
It is failing. Tracked in #54220.
1 parent cb0ecaf commit b8b7516

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/WatcherRestartIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
package org.elasticsearch.upgrades;
77

88
import org.apache.http.util.EntityUtils;
9+
import org.elasticsearch.Version;
910
import org.elasticsearch.client.Request;
1011
import org.elasticsearch.client.RequestOptions;
1112
import org.elasticsearch.client.Response;
@@ -18,8 +19,11 @@
1819
import static org.hamcrest.Matchers.not;
1920

2021
public class WatcherRestartIT extends AbstractUpgradeTestCase {
22+
private static final Version UPGRADE_FROM_VERSION =
23+
Version.fromString(System.getProperty("tests.upgrade_from_version"));
2124

2225
public void testWatcherRestart() throws Exception {
26+
assumeFalse("https://github.com/elastic/elasticsearch/issues/54220", UPGRADE_FROM_VERSION.onOrAfter(Version.V_7_7_0));
2327
client().performRequest(new Request("POST", "/_watcher/_stop"));
2428
ensureWatcherStopped();
2529

0 commit comments

Comments
 (0)