Skip to content

Commit

Permalink
Disable WatcherRestartIT from 7.7.0
Browse files Browse the repository at this point in the history
It is failing. Tracked in elastic#54220.
  • Loading branch information
nik9000 committed Mar 25, 2020
1 parent cb0ecaf commit b8b7516
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package org.elasticsearch.upgrades;

import org.apache.http.util.EntityUtils;
import org.elasticsearch.Version;
import org.elasticsearch.client.Request;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.Response;
Expand All @@ -18,8 +19,11 @@
import static org.hamcrest.Matchers.not;

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

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

Expand Down

0 comments on commit b8b7516

Please sign in to comment.