Skip to content

Commit

Permalink
Reduce upper limit on no. of indices
Browse files Browse the repository at this point in the history
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
  • Loading branch information
ltaragi committed Feb 23, 2025
1 parent 11d986a commit 67bdd07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public void testAllocationAndRebalanceWithDisruption() throws Exception {
internalCluster().startClusterManagerOnlyNode();
final int maxReplicaCount = 2;
final int maxShardCount = 2;
final int numberOfIndices = randomIntBetween(1, 10);
final int numberOfIndices = randomIntBetween(1, 3);
final int maxPossibleShards = numberOfIndices * maxShardCount * (1 + maxReplicaCount);

List<List<Integer>> shardAndReplicaCounts = new ArrayList<>();
Expand Down

0 comments on commit 67bdd07

Please sign in to comment.