Skip to content

Commit

Permalink
Remove leftover of #67877
Browse files Browse the repository at this point in the history
Closes #69313
  • Loading branch information
jimczi committed Feb 22, 2021
1 parent 8750461 commit 4594a6b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,8 @@ public void testRemoveAsyncIndex() throws Exception {
assertThat(newResp.getSearchResponse().getTotalShards(), equalTo(numShards));
assertThat(newResp.getSearchResponse().getSuccessfulShards(), equalTo(0));
assertThat(newResp.getSearchResponse().getFailedShards(), equalTo(0));
long expirationTime = newResp.getExpirationTime();

// check garbage collection
newResp = getAsyncSearch(newResp.getId(), TimeValue.timeValueMillis(1));
assertThat(newResp.getExpirationTime(), lessThan(expirationTime));
ensureTaskNotRunning(newResp.getId());
ensureTaskRemoval(newResp.getId());
}
Expand Down

0 comments on commit 4594a6b

Please sign in to comment.