Skip to content

Commit

Permalink
Fix Flaky Test SearchTimeoutIT.testSimpleTimeout (#16828)
Browse files Browse the repository at this point in the history
Signed-off-by: kkewwei <[email protected]>
(cherry picked from commit 7050ecf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Dec 19, 2024
1 parent 1e3e35d commit d03055d
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 d03055d

Please sign in to comment.