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

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