diff --git a/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationAllocationIT.java b/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationAllocationIT.java index efaba8ac2cbf3..0ee006130fbb3 100644 --- a/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationAllocationIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationAllocationIT.java @@ -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> shardAndReplicaCounts = new ArrayList<>();