Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public void testMultipleAutoFollowPatternsDifferentClusters() throws Exception {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/84403")
public void testAutoFollowPatterns() throws Exception {
if ("follow".equals(targetCluster) == false) {
logger.info("skipping test, waiting for target cluster [follow]");
Expand Down Expand Up @@ -176,14 +175,12 @@ public void testAutoFollowPatterns() throws Exception {
assertThat(indexExists(excludedIndex), is(false));
});

assertBusy(() -> {
verifyCcrMonitoring("metrics-20210101", "metrics-20210101");
verifyAutoFollowMonitoring();
}, 30, TimeUnit.SECONDS);
assertLongBusy(() -> verifyCcrMonitoring("metrics-20210101", "metrics-20210101"));
assertLongBusy(ESCCRRestTestCase::verifyAutoFollowMonitoring);

} finally {
cleanUpLeader(List.of("metrics-20210101", excludedIndex), List.of(), List.of());
cleanUpFollower(List.of("metrics-20210101"), List.of(), List.of(autoFollowPatternName));
cleanUpLeader(List.of("metrics-20210101", excludedIndex), List.of(), List.of());
}
}

Expand Down