diff --git a/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/local/LocalIndicesCleanerTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/local/LocalIndicesCleanerTests.java index 91700b75d9068..1b4d2d2d318a7 100644 --- a/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/local/LocalIndicesCleanerTests.java +++ b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/local/LocalIndicesCleanerTests.java @@ -57,12 +57,11 @@ protected void assertIndicesCount(int count) throws Exception { //so when es core gets the request with the explicit index name, it throws an index not found exception as that index //doesn't exist anymore. If we ignore unavailable instead no error will be thrown. GetSettingsResponse getSettingsResponse = client().admin().indices().prepareGetSettings() - .setIndicesOptions(IndicesOptions.fromOptions(true, true, true, true)).get(); + .setIndicesOptions(IndicesOptions.fromOptions(true, true, true, true, true)).get(); assertThat(getSettingsResponse.getIndexToSettings().size(), equalTo(count)); }); } - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/53025") public void testHandlesWatcherHistory() throws Exception { internalCluster().startNode();