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 <poojiraj@amazon.com>
(cherry picked from commit 7b99274)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Feb 9, 2024
1 parent a98f719 commit deeeeb2
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 deeeeb2

Please sign in to comment.