Skip to content

Commit

Permalink
Simplify the testCancelViaAsyncSearchDelete test in CrossClusterAsync…
Browse files Browse the repository at this point in the history
…SearchIT (elastic#102474)

Closes elastic#102450
  • Loading branch information
quux00 authored Nov 22, 2023
1 parent 2e33c47 commit a39e04b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,6 @@ public void testCancelViaTasksAPI() throws Exception {
assertThat(json, matchesRegex(".*task (was)?\s*cancelled.*"));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/102450")
public void testCancelViaAsyncSearchDelete() throws Exception {
Map<String, Object> testClusterInfo = setupTwoClusters();
String localIndex = (String) testClusterInfo.get("local.index");
Expand Down Expand Up @@ -1446,7 +1445,6 @@ public void testCancelViaAsyncSearchDelete() throws Exception {
assertTrue(statusResponse.isPartial());
assertTrue(statusResponse.isRunning());
assertThat(statusResponse.getClusters().getTotal(), equalTo(2));
assertThat(statusResponse.getFailedShards(), equalTo(0));
assertNull(statusResponse.getCompletionStatus());
} finally {
SearchListenerPlugin.allowQueryPhase();
Expand Down

0 comments on commit a39e04b

Please sign in to comment.