repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: check worker aliveness in all case
[poolifier.git]
/
tests
/
worker-files
/
cluster
/
errorWorker.js
diff --git
a/tests/worker-files/cluster/errorWorker.js
b/tests/worker-files/cluster/errorWorker.js
index d6d9297ac8e5f671c3249622139c3ba0c8b8d8b6..d23ba27b31692d74866fdd2ddb2f9caf8763fac7 100644
(file)
--- a/
tests/worker-files/cluster/errorWorker.js
+++ b/
tests/worker-files/cluster/errorWorker.js
@@
-1,7
+1,7
@@
'use strict'
const { ClusterWorker, KillBehaviors } = require('../../../lib/index')
'use strict'
const { ClusterWorker, KillBehaviors } = require('../../../lib/index')
-function error (
data
) {
+function error () {
throw new Error('Error Message from ClusterWorker')
}
throw new Error('Error Message from ClusterWorker')
}