From 2806c2ae7279d0e184fd18a52b6bc03bfab085b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 4 Apr 2023 00:34:25 +0200 Subject: [PATCH] test: fix FAIR_SHARE strategy in dynamic pool (take 4) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- tests/pools/selection-strategies/selection-strategies.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) } -- 2.34.1