test: fix FAIR_SHARE strategy in dynamic pool (take 4)
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 3 Apr 2023 22:34:25 +0000 (00:34 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 3 Apr 2023 22:34:25 +0000 (00:34 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
tests/pools/selection-strategies/selection-strategies.test.js

index b7be89c63aa2b4b2be5b720d51c4db9de49f23e3..abef7e5baa30ee510bd0137ff38e220c37f5dbab 100644 (file)
@@ -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())
     }