Skip to content

Commit

Permalink
fix flaky test FieldSortIT (#12259) (#12269)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7b99274)

Signed-off-by: Poojita Raj <poojiraj@amazon.com>
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 db4c6f4 commit c06f203
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 c06f203

Please sign in to comment.