From: Jérôme Benoit Date: Mon, 3 Apr 2023 22:34:25 +0000 (+0200) Subject: test: fix FAIR_SHARE strategy in dynamic pool (take 4) X-Git-Tag: v2.4.0-3~8 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2806c2ae7279d0e184fd18a52b6bc03bfab085b5;p=poolifier.git test: fix FAIR_SHARE strategy in dynamic pool (take 4) 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 b7be89c6..abef7e5b 100644 --- a/tests/pools/selection-strategies/selection-strategies.test.js +++ b/tests/pools/selection-strategies/selection-strategies.test.js @@ -432,7 +432,7 @@ describe('Selection strategies test suite', () => { ) // TODO: Create a better test to cover `FairShareChoiceStrategy#choose` const promises = [] - const maxMultiplier = 10 + const maxMultiplier = 50 for (let i = 0; i < max * maxMultiplier; i++) { promises.push(pool.execute()) }