Skip to content

Commit

Permalink
Fix Flaky Test SearchTimeoutIT.testSimpleTimeout (#16828) (#16886)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7050ecf)

Signed-off-by: kkewwei <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 1e3e35d commit f893635
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ protected Settings nodeSettings(int nodeOrdinal) {
}

public void testSimpleTimeout() throws Exception {
final int numDocs = 1000;
for (int i = 0; i < numDocs; i++) {
for (int i = 0; i < 32; i++) {
client().prepareIndex("test").setId(Integer.toString(i)).setSource("field", "value").get();
}
refresh("test");
Expand Down

0 comments on commit f893635

Please sign in to comment.