repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: fix FAIR_SHARE strategy in dynamic pool (take 4)
[poolifier.git]
/
tests
/
pools
/
selection-strategies
/
selection-strategies.test.js
diff --git
a/tests/pools/selection-strategies/selection-strategies.test.js
b/tests/pools/selection-strategies/selection-strategies.test.js
index b7be89c63aa2b4b2be5b720d51c4db9de49f23e3..abef7e5baa30ee510bd0137ff38e220c37f5dbab 100644
(file)
--- 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 =
1
0
+ const maxMultiplier =
5
0
for (let i = 0; i < max * maxMultiplier; i++) {
promises.push(pool.execute())
}