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 #50353
  • Loading branch information
Christoph Büscher committed Jan 3, 2020
1 parent b13a755 commit a5ab7da
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,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 @@ -1119,6 +1120,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 @@ -1353,7 +1356,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 a5ab7da

Please sign in to comment.