Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
)
// TODO: Create a better test to cover `FairShareChoiceStrategy#choose`
const promises = []
- const maxMultiplier = 4
+ const maxMultiplier = 8
for (let i = 0; i < max * maxMultiplier; i++) {
promises.push(pool.execute())
}
const promises = []
const maxMultiplier =
pool.workerChoiceStrategyContext.workerChoiceStrategy.workerChoiceStrategy
- .defaultWorkerWeight
+ .defaultWorkerWeight * 2
for (let i = 0; i < max * maxMultiplier; i++) {
promises.push(pool.execute())
}