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]>
  • Loading branch information
kkewwei authored Dec 19, 2024
1 parent f4fd707 commit 7050ecf
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 7050ecf

Please sign in to comment.