repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: simplify tasks usage reset
[poolifier.git]
/
tests
/
pools
/
selection-strategies
/
worker-choice-strategy-context.test.js
diff --git
a/tests/pools/selection-strategies/worker-choice-strategy-context.test.js
b/tests/pools/selection-strategies/worker-choice-strategy-context.test.js
index 5ffd66a384ec20decf6aee953e985886bc575a63..c30bda737d35637f2b88020f0ed8441a0fb5c020 100644
(file)
--- a/
tests/pools/selection-strategies/worker-choice-strategy-context.test.js
+++ b/
tests/pools/selection-strategies/worker-choice-strategy-context.test.js
@@
-45,9
+45,9
@@
describe('Worker choice strategy context test suite', () => {
sinon.restore()
})
sinon.restore()
})
- after(() => {
- fixedPool.destroy()
- dynamicPool.destroy()
+ after(
async
() => {
+
await
fixedPool.destroy()
+
await
dynamicPool.destroy()
})
it('Verify that execute() return the worker chosen by the strategy with fixed pool', () => {
})
it('Verify that execute() return the worker chosen by the strategy with fixed pool', () => {