Skip to content

Commit

Permalink
Fix flaky ScalingThreadPoolTests.testScalingThreadPoolConfiguration t…
Browse files Browse the repository at this point in the history
…est (opensearch-project#7539) (opensearch-project#7689)

Signed-off-by: Ashish Singh <[email protected]>
  • Loading branch information
ashking94 authored May 23, 2023
1 parent 3698b2d commit 8909f44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private int expectedSize(final String threadPoolName, final int numberOfProcesso
sizes.put(ThreadPool.Names.TRANSLOG_TRANSFER, ThreadPool::halfAllocatedProcessorsMaxTen);
sizes.put(ThreadPool.Names.TRANSLOG_SYNC, n -> 4 * n);
sizes.put(ThreadPool.Names.REMOTE_PURGE, ThreadPool::halfAllocatedProcessorsMaxFive);
sizes.put(ThreadPool.Names.REMOTE_REFRESH, n -> 4 * n);
sizes.put(ThreadPool.Names.REMOTE_REFRESH, ThreadPool::halfAllocatedProcessorsMaxTen);
return sizes.get(threadPoolName).apply(numberOfProcessors);
}

Expand Down

0 comments on commit 8909f44

Please sign in to comment.