repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: fix pool statuses semantic
[poolifier.git]
/
tests
/
pools
/
cluster
/
fixed.test.js
diff --git
a/tests/pools/cluster/fixed.test.js
b/tests/pools/cluster/fixed.test.js
index 1d0f7b8c29fc2992f7415fc71cb8ad53e58bc1a9..f71529a911949f285d0c54ebd8be5b27d67d0e3d 100644
(file)
--- a/
tests/pools/cluster/fixed.test.js
+++ b/
tests/pools/cluster/fixed.test.js
@@
-91,7
+91,7
@@
describe('Fixed cluster pool test suite', () => {
expect(poolReady).toBe(1)
})
expect(poolReady).toBe(1)
})
- it("Verify that 'busy' event is emitted",
async
() => {
+ it("Verify that 'busy' event is emitted", () => {
let poolBusy = 0
pool.emitter.on(PoolEvents.busy, () => ++poolBusy)
for (let i = 0; i < numberOfWorkers * 2; i++) {
let poolBusy = 0
pool.emitter.on(PoolEvents.busy, () => ++poolBusy)
for (let i = 0; i < numberOfWorkers * 2; i++) {