Skip to content

Commit df0ad75

Browse files
authored
Mute TimeSeriesLifecycleActionsIT (#53741)
see #53738
1 parent 598d4c1 commit df0ad75

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

+8-6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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;
1314
import org.elasticsearch.client.Request;
1415
import org.elasticsearch.client.Response;
1516
import org.elasticsearch.client.ResponseException;
@@ -75,6 +76,7 @@
7576
import static org.hamcrest.Matchers.not;
7677
import static org.hamcrest.Matchers.nullValue;
7778

79+
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/53738")
7880
public class TimeSeriesLifecycleActionsIT extends ESRestTestCase {
7981
private static final Logger logger = LogManager.getLogger(TimeSeriesLifecycleActionsIT.class);
8082
private static final String FAILED_STEP_RETRY_COUNT_FIELD = "failed_step_retry_count";
@@ -94,7 +96,7 @@ public void refreshIndex() {
9496
public static void updatePolicy(String indexName, String policy) throws IOException {
9597
Request changePolicyRequest = new Request("PUT", "/" + indexName + "/_settings");
9698
final StringEntity changePolicyEntity = new StringEntity("{ \"index.lifecycle.name\": \"" + policy + "\" }",
97-
ContentType.APPLICATION_JSON);
99+
ContentType.APPLICATION_JSON);
98100
changePolicyRequest.setEntity(changePolicyEntity);
99101
assertOK(client().performRequest(changePolicyRequest));
100102
}
@@ -655,9 +657,9 @@ public void testSetSingleNodeAllocationRetriesUntilItSucceeds() throws Exception
655657
createIndexWithSettings(index, Settings.builder().put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, numShards)
656658
.put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, 0));
657659

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

660-
// unallocate all index shards
662+
// unallocate all index shards
661663
Request setAllocationToMissingAttribute = new Request("PUT", "/" + index + "/_settings");
662664
setAllocationToMissingAttribute.setJsonEntity("{\n" +
663665
" \"settings\": {\n" +
@@ -1335,8 +1337,8 @@ public void testWaitForActiveShardsStep() throws Exception {
13351337
String originalIndex = index + "-000001";
13361338
String secondIndex = index + "-000002";
13371339
createIndexWithSettings(originalIndex, Settings.builder().put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, 1)
1338-
.put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, 0)
1339-
.put(RolloverAction.LIFECYCLE_ROLLOVER_ALIAS, alias),
1340+
.put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, 0)
1341+
.put(RolloverAction.LIFECYCLE_ROLLOVER_ALIAS, alias),
13401342
true);
13411343

13421344
// create policy
@@ -1813,7 +1815,7 @@ private void createSlmPolicy(String smlPolicy, String repo) throws IOException {
18131815
.field("repository", repo)
18141816
.field("name", "snap" + randomAlphaOfLengthBetween(5, 10).toLowerCase(Locale.ROOT))
18151817
.startObject("config")
1816-
.field("include_global_state", false)
1818+
.field("include_global_state", false)
18171819
.endObject()
18181820
.endObject()));
18191821

0 commit comments

Comments
 (0)