Skip to content

Commit 6c8868e

Browse files
author
Christoph Büscher
committed
Mute TimeSeriesLifecycleActionsIT.testHistoryIsWrittenWithSuccess
Also muting TimeSeriesLifecycleActionsIT.testHistoryIsWrittenWithFailure. Tracked in #50353
1 parent 62969c3 commit 6c8868e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

+6-1
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,7 @@ public void testRolloverStepRetriesUntilRolledOverIndexIsDeleted() throws Except
10861086
assertBusy(() -> assertThat(getStepKeyForIndex(index), equalTo(TerminalPolicyStep.KEY)));
10871087
}
10881088

1089+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/50353")
10891090
public void testHistoryIsWrittenWithSuccess() throws Exception {
10901091
String index = "index";
10911092

@@ -1128,6 +1129,8 @@ public void testHistoryIsWrittenWithSuccess() throws Exception {
11281129
assertBusy(() -> assertHistoryIsPresent(policy, index + "-000002", true, "check-rollover-ready"), 30, TimeUnit.SECONDS);
11291130
}
11301131

1132+
1133+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/50353")
11311134
public void testHistoryIsWrittenWithFailure() throws Exception {
11321135
String index = "index";
11331136

@@ -1361,7 +1364,9 @@ private static StepKey getStepKey(Map<String, Object> explainIndexResponse) {
13611364

13621365
private String getFailedStepForIndex(String indexName) throws IOException {
13631366
Map<String, Object> indexResponse = explainIndex(indexName);
1364-
if (indexResponse == null) return null;
1367+
if (indexResponse == null) {
1368+
return null;
1369+
}
13651370

13661371
return (String) indexResponse.get("failed_step");
13671372
}

0 commit comments

Comments
 (0)