} = require('../../../lib/pools/selection-strategies/fair-share-worker-choice-strategy')
const {
WeightedRoundRobinWorkerChoiceStrategy
-} = require('../../../lib/pools/selection-strategies/weighted-round-robin-choice-strategy')
+} = require('../../../lib/pools/selection-strategies/weighted-round-robin-worker-choice-strategy')
describe('Selection strategies utils test suite', () => {
const max = 3
// sinon.restore()
// })
- after(() => {
- pool.destroy()
+ after(async () => {
+ await pool.destroy()
})
it('Verify that getWorkerChoiceStrategy() default return ROUND_ROBIN strategy', () => {