Skip to content

Commit

Permalink
Mute TimeSeriesLifecycleActionsIT.testHistoryIsWrittenWithSuccess
Browse files Browse the repository at this point in the history
Also muting TimeSeriesLifecycleActionsIT.testHistoryIsWrittenWithFailure.

Tracked in elastic#50353
  • Loading branch information
Christoph Büscher authored and SivagurunathanV committed Jan 21, 2020
1 parent 16535e8 commit 4a6f426
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,7 @@ public void testRolloverStepRetriesUntilRolledOverIndexIsDeleted() throws Except
assertBusy(() -> assertThat(getStepKeyForIndex(index), equalTo(TerminalPolicyStep.KEY)));
}

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

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


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

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

private String getFailedStepForIndex(String indexName) throws IOException {
Map<String, Object> indexResponse = explainIndex(indexName);
if (indexResponse == null) return null;
if (indexResponse == null) {
return null;
}

return (String) indexResponse.get("failed_step");
}
Expand Down

0 comments on commit 4a6f426

Please sign in to comment.