Skip to content

Commit

Permalink
Minor fix for the flaky test to reduce concurrency (#1361) (#1397)
Browse files Browse the repository at this point in the history
Signed-off-by: Saurabh Singh <sisurab@amazon.com>

Co-authored-by: Saurabh Singh <sisurab@amazon.com>
  • Loading branch information
getsaurabh02 and getsaurabh02 authored Oct 20, 2021
1 parent 43b6f27 commit 169edf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 169edf4

Please sign in to comment.