Skip to content

Commit

Permalink
fix flaky test FieldSortIT (opensearch-project#12259)
Browse files Browse the repository at this point in the history
Signed-off-by: Poojita Raj <[email protected]>
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
Poojita-Raj authored and shiv0408 committed Apr 25, 2024
1 parent 151f6f2 commit 9bc9e9e
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 9bc9e9e

Please sign in to comment.