X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fworker-files%2Fcluster%2FlongRunningWorkerSoftBehavior.js;h=c1e89e1a5150558af4b42338fae23c3d6ec66f3a;hb=9cd39dd47830f0923cd3ebf53b709bf7fb07e788;hp=ea53bbea5b42cbc2b83474074430101d59cb33f6;hpb=cf597bc58029b9b5bf861c29fa9e917a6a72d859;p=poolifier.git diff --git a/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js b/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js index ea53bbea..c1e89e1a 100644 --- a/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js +++ b/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js @@ -3,7 +3,7 @@ const { ClusterWorker } = require('../../../lib/index') const TestUtils = require('../../test-utils') async function sleep (data) { - return await TestUtils.workerSleepFunction(data, 50000) + return TestUtils.sleepWorkerFunction(data, 50000) } module.exports = new ClusterWorker(sleep, {