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 62969c3 commit 6c8868e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,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 @@ -1128,6 +1129,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 6c8868e

Please sign in to comment.