Skip to content

Commit

Permalink
fix flaky test FieldSortIT (#12259)
Browse files Browse the repository at this point in the history
Signed-off-by: Poojita Raj <[email protected]>
  • Loading branch information
Poojita-Raj authored Feb 9, 2024
1 parent 4d044e4 commit 7b99274
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ public void testIssue8226() throws InterruptedException {
public void testIssue6614() throws ExecutionException, InterruptedException {
List<IndexRequestBuilder> builders = new ArrayList<>();
boolean strictTimeBasedIndices = randomBoolean();
final int numIndices = randomIntBetween(2, 25); // at most 25 days in the month
// consider only 15 days of the month to avoid hitting open file limit
final int numIndices = randomIntBetween(2, 15);
int docs = 0;
for (int i = 0; i < numIndices; i++) {
final String indexId = strictTimeBasedIndices ? "idx_" + i : "idx";
Expand Down

0 comments on commit 7b99274

Please sign in to comment.