Skip to content

Commit

Permalink
Fix Flaky Test SearchTimeoutIT.testSimpleTimeout
Browse files Browse the repository at this point in the history
Signed-off-by: kkewwei <[email protected]>
  • Loading branch information
kkewwei committed Dec 19, 2024
1 parent b5f651f commit 3a34c9d
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 3a34c9d

Please sign in to comment.