diff --git a/server/src/test/java/org/opensearch/index/ShardIndexingPressureConcurrentExecutionTests.java b/server/src/test/java/org/opensearch/index/ShardIndexingPressureConcurrentExecutionTests.java index ce4e7847f73fa..9dba9f92a3330 100644 --- a/server/src/test/java/org/opensearch/index/ShardIndexingPressureConcurrentExecutionTests.java +++ b/server/src/test/java/org/opensearch/index/ShardIndexingPressureConcurrentExecutionTests.java @@ -484,7 +484,7 @@ public void testReplicaThreadedThroughputDegradationAndRejection() throws Except .put(ShardIndexingPressureMemoryManager.THROUGHPUT_DEGRADATION_LIMITS.getKey(), 1) .put(ShardIndexingPressureSettings.REQUEST_SIZE_WINDOW.getKey(), 100) .build(); - final int NUM_THREADS = scaledRandomIntBetween(100, 120); + final int NUM_THREADS = scaledRandomIntBetween(80, 100); ShardIndexingPressure shardIndexingPressure = new ShardIndexingPressure(settings, clusterService); Index index = new Index("IndexName", "UUID"); ShardId shardId1 = new ShardId(index, 0);