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
/
longRunningWorkerSoftBehavior.js
diff --git
a/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js
b/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js
index ea53bbea5b42cbc2b83474074430101d59cb33f6..5c6fdf42679b72a7e213ce098240363016cf366c 100644
(file)
--- a/
tests/worker-files/cluster/longRunningWorkerSoftBehavior.js
+++ b/
tests/worker-files/cluster/longRunningWorkerSoftBehavior.js
@@
-1,9
+1,9
@@
'use strict'
'use strict'
-const { ClusterWorker } = require('../../../lib
/index
')
+const { ClusterWorker } = 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, {