From d2fdef84e55e543b28581ef94ca6892010e8600e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 4 Apr 2023 00:37:41 +0200 Subject: [PATCH] test: fix FAIR_SHARE strategy in dynamic pool (take 5) 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 abef7e5b..dc5bc95f 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 = 50 + const maxMultiplier = 1000 for (let i = 0; i < max * maxMultiplier; i++) { promises.push(pool.execute()) } -- 2.34.1