From: Jérôme Benoit Date: Fri, 7 Apr 2023 18:06:32 +0000 (+0200) Subject: test: fix a UT X-Git-Tag: v2.4.4~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8da9e84d6e80a7373983bfd50defbb8d31043251;p=poolifier.git test: fix a UT Signed-off-by: Jérôme Benoit --- diff --git a/tests/pools/selection-strategies/selection-strategies.test.js b/tests/pools/selection-strategies/selection-strategies.test.js index 591b2c4d..b1599a99 100644 --- a/tests/pools/selection-strategies/selection-strategies.test.js +++ b/tests/pools/selection-strategies/selection-strategies.test.js @@ -650,7 +650,7 @@ describe('Selection strategies test suite', () => { const maxMultiplier = pool.workerChoiceStrategyContext.workerChoiceStrategies.get( WorkerChoiceStrategies.WEIGHTED_ROUND_ROBIN - ).defaultWorkerWeight * 2 + ).defaultWorkerWeight * 50 for (let i = 0; i < max * maxMultiplier; i++) { promises.push(pool.execute()) }