Skip to content

Commit af519cc

Browse files
committed
Revert "Mute TimeSeriesLifecycleActionsIT (#53741)"
This reverts commit df0ad75.
1 parent 8e17322 commit af519cc

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

x-pack/plugin/ilm/qa/multi-node/src/test/java/org/elasticsearch/xpack/ilm/TimeSeriesLifecycleActionsIT.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import org.apache.http.entity.StringEntity;
1111
import org.apache.logging.log4j.LogManager;
1212
import org.apache.logging.log4j.Logger;
13-
import org.apache.lucene.util.LuceneTestCase;
1413
import org.elasticsearch.client.Request;
1514
import org.elasticsearch.client.Response;
1615
import org.elasticsearch.client.ResponseException;
@@ -76,7 +75,6 @@
7675
import static org.hamcrest.Matchers.not;
7776
import static org.hamcrest.Matchers.nullValue;
7877

79-
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/53738")
8078
public class TimeSeriesLifecycleActionsIT extends ESRestTestCase {
8179
private static final Logger logger = LogManager.getLogger(TimeSeriesLifecycleActionsIT.class);
8280
private static final String FAILED_STEP_RETRY_COUNT_FIELD = "failed_step_retry_count";
@@ -96,7 +94,7 @@ public void refreshIndex() {
9694
public static void updatePolicy(String indexName, String policy) throws IOException {
9795
Request changePolicyRequest = new Request("PUT", "/" + indexName + "/_settings");
9896
final StringEntity changePolicyEntity = new StringEntity("{ \"index.lifecycle.name\": \"" + policy + "\" }",
99-
ContentType.APPLICATION_JSON);
97+
ContentType.APPLICATION_JSON);
10098
changePolicyRequest.setEntity(changePolicyEntity);
10199
assertOK(client().performRequest(changePolicyRequest));
102100
}
@@ -657,9 +655,9 @@ public void testSetSingleNodeAllocationRetriesUntilItSucceeds() throws Exception
657655
createIndexWithSettings(index, Settings.builder().put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, numShards)
658656
.put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, 0));
659657

660-
ensureGreen(index);
658+
ensureGreen(index);
661659

662-
// unallocate all index shards
660+
// unallocate all index shards
663661
Request setAllocationToMissingAttribute = new Request("PUT", "/" + index + "/_settings");
664662
setAllocationToMissingAttribute.setJsonEntity("{\n" +
665663
" \"settings\": {\n" +
@@ -1337,8 +1335,8 @@ public void testWaitForActiveShardsStep() throws Exception {
13371335
String originalIndex = index + "-000001";
13381336
String secondIndex = index + "-000002";
13391337
createIndexWithSettings(originalIndex, Settings.builder().put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, 1)
1340-
.put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, 0)
1341-
.put(RolloverAction.LIFECYCLE_ROLLOVER_ALIAS, alias),
1338+
.put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, 0)
1339+
.put(RolloverAction.LIFECYCLE_ROLLOVER_ALIAS, alias),
13421340
true);
13431341

13441342
// create policy
@@ -1815,7 +1813,7 @@ private void createSlmPolicy(String smlPolicy, String repo) throws IOException {
18151813
.field("repository", repo)
18161814
.field("name", "snap" + randomAlphaOfLengthBetween(5, 10).toLowerCase(Locale.ROOT))
18171815
.startObject("config")
1818-
.field("include_global_state", false)
1816+
.field("include_global_state", false)
18191817
.endObject()
18201818
.endObject()));
18211819

0 commit comments

Comments
 (0)