Skip to content

Commit b54d935

Browse files
authored
Unmute testHistoryIsWrittenWithSuccess (elastic#67437)
Also fixes assertion for step to use the updated `wait-for-index-color` step
1 parent b3adf2b commit b54d935

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,6 @@ public void testWaitForActiveShardsStep() throws Exception {
12121212
assertBusy(() -> assertThat(getStepKeyForIndex(client(), originalIndex), equalTo(PhaseCompleteStep.finalStep("hot").getKey())));
12131213
}
12141214

1215-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/54093")
12161215
public void testHistoryIsWrittenWithSuccess() throws Exception {
12171216
createNewSingletonPolicy(client(), policy, "hot", new RolloverAction(null, null, 1L));
12181217
Request createIndexTemplate = new Request("PUT", "_template/rolling_indexes");
@@ -1242,7 +1241,7 @@ public void testHistoryIsWrittenWithSuccess() throws Exception {
12421241
assertBusy(() -> assertHistoryIsPresent(policy, index + "-1", true, "close-follower-index"), 30, TimeUnit.SECONDS);
12431242
assertBusy(() -> assertHistoryIsPresent(policy, index + "-1", true, "unfollow-follower-index"), 30, TimeUnit.SECONDS);
12441243
assertBusy(() -> assertHistoryIsPresent(policy, index + "-1", true, "open-follower-index"), 30, TimeUnit.SECONDS);
1245-
assertBusy(() -> assertHistoryIsPresent(policy, index + "-1", true, "wait-for-yellow-step"), 30, TimeUnit.SECONDS);
1244+
assertBusy(() -> assertHistoryIsPresent(policy, index + "-1", true, "wait-for-index-color"), 30, TimeUnit.SECONDS);
12461245
assertBusy(() -> assertHistoryIsPresent(policy, index + "-1", true, "check-rollover-ready"), 30, TimeUnit.SECONDS);
12471246
assertBusy(() -> assertHistoryIsPresent(policy, index + "-1", true, "attempt-rollover"), 30, TimeUnit.SECONDS);
12481247
assertBusy(() -> assertHistoryIsPresent(policy, index + "-1", true, "set-indexing-complete"), 30, TimeUnit.SECONDS);

0 commit comments

Comments
 (0)