From 4bcfdce51fa05ee0523c7f414927d33825e18141 Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Thu, 10 Oct 2019 15:58:35 +0200 Subject: [PATCH] Fix SLMSnapshotBlockingIntegTests (#47841) One of the tests in this suit stops a master node, plus we're doing other node starts in this suit. => the internal test cluster should be TEST and not `SUITE` scoped to avoid random failures like the one in #47834 Closes #47834 --- .../elasticsearch/xpack/slm/SLMSnapshotBlockingIntegTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/ilm/src/test/java/org/elasticsearch/xpack/slm/SLMSnapshotBlockingIntegTests.java b/x-pack/plugin/ilm/src/test/java/org/elasticsearch/xpack/slm/SLMSnapshotBlockingIntegTests.java index 237943aa10003..7da9bf2c0b19e 100644 --- a/x-pack/plugin/ilm/src/test/java/org/elasticsearch/xpack/slm/SLMSnapshotBlockingIntegTests.java +++ b/x-pack/plugin/ilm/src/test/java/org/elasticsearch/xpack/slm/SLMSnapshotBlockingIntegTests.java @@ -60,6 +60,7 @@ */ @TestLogging(value = "org.elasticsearch.snapshots.mockstore:DEBUG", reason = "https://github.com/elastic/elasticsearch/issues/46508") +@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.TEST) public class SLMSnapshotBlockingIntegTests extends ESIntegTestCase { private static final String REPO = "repo-id"; @@ -167,7 +168,6 @@ public void testSnapshotInProgress() throws Exception { } } - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/47834") public void testRetentionWhileSnapshotInProgress() throws Exception { final String indexName = "test"; final String policyId = "slm-policy";