X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FasyncWorker.js;h=b9ad419f82f97e61646ecd6c35cbb89ab9b6ec83;hb=c9102ab445193a629e149365be9b3fca9edb2ed6;hp=70db6a8777966c681e010803a7c6562cc36a5ea3;hpb=cf597bc58029b9b5bf861c29fa9e917a6a72d859;p=poolifier.git diff --git a/tests/worker-files/cluster/asyncWorker.js b/tests/worker-files/cluster/asyncWorker.js index 70db6a87..b9ad419f 100644 --- a/tests/worker-files/cluster/asyncWorker.js +++ b/tests/worker-files/cluster/asyncWorker.js @@ -3,7 +3,7 @@ const { ClusterWorker, KillBehaviors } = require('../../../lib/index') const TestUtils = require('../../test-utils') async function sleep (data) { - return await TestUtils.workerSleepFunction(data, 2000) + return TestUtils.sleepWorkerFunction(data, 2000) } module.exports = new ClusterWorker(sleep, {