repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: refine worker choice strategies expectation
[poolifier.git]
/
tests
/
worker-files
/
cluster
/
longRunningWorkerHardBehavior.js
diff --git
a/tests/worker-files/cluster/longRunningWorkerHardBehavior.js
b/tests/worker-files/cluster/longRunningWorkerHardBehavior.js
index 5c0b620239bdee156e8193cc43bc97d7bd70feed..005699e92195beafe6c24bcbfeb1938e823f8efe 100644
(file)
--- a/
tests/worker-files/cluster/longRunningWorkerHardBehavior.js
+++ b/
tests/worker-files/cluster/longRunningWorkerHardBehavior.js
@@
-1,9
+1,9
@@
'use strict'
'use strict'
-const { ClusterWorker, KillBehaviors } = require('../../../lib
/index
')
+const { ClusterWorker, KillBehaviors } = require('../../../lib')
const TestUtils = require('../../test-utils')
async function sleep (data) {
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return
await TestUtils.workerSleep
Function(data, 50000)
+ return
TestUtils.sleepWorker
Function(data, 50000)
}
module.exports = new ClusterWorker(sleep, {
}
module.exports = new ClusterWorker(sleep, {