Skip to content

Commit

Permalink
Update client/rest-high-level/src/test/java/org/opensearch/client/Pit…
Browse files Browse the repository at this point in the history
…IT.java
  • Loading branch information
Bukhtawar authored Oct 4, 2022
1 parent 4db29a8 commit 1bde281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void onFailure(Exception e) {
};
highLevelClient().getAllPitsAsync(RequestOptions.DEFAULT, getPitsListener);
highLevelClient().deleteAllPitsAsync(RequestOptions.DEFAULT, deletePitListener);
countDownLatch.await(10, TimeUnit.SECONDS);
assertTrue(countDownLatch.await(10, TimeUnit.SECONDS);
// validate no pits case
getAllPitResponse = highLevelClient().getAllPits(RequestOptions.DEFAULT);
assertTrue(getAllPitResponse.getPitInfos().size() == 0);
Expand Down

0 comments on commit 1bde281

Please sign in to comment.