Skip to content

Commit

Permalink
Fix too many open files in PartitionedRoutingIT by reducing number of…
Browse files Browse the repository at this point in the history
… docs

Signed-off-by: Sachin Kale <kalsac@amazon.com>
  • Loading branch information
Sachin Kale committed Sep 3, 2023
1 parent 2fc1ca4 commit a5803ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private Map<String, Set<String>> generateRoutedDocumentIds(String index) {

for (int i = 0; i < numRoutingValues; i++) {
String routingValue = String.valueOf(i);
int numDocuments = randomIntBetween(10, 100);
int numDocuments = randomIntBetween(10, 20);
routingToDocumentIds.put(String.valueOf(routingValue), new HashSet<>());

for (int k = 0; k < numDocuments; k++) {
Expand Down

0 comments on commit a5803ea

Please sign in to comment.