X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FasyncErrorWorker.js;h=09278851c72e31070e31784447ad8cda0e637a56;hb=a4958de2101f06e7096b83adbca82fcfd532a721;hp=0b6f5d8acb937a02bc4dcb47d855f6a89456ddc2;hpb=15d563152134452a245e4842b20fbf4030457e16;p=poolifier.git diff --git a/tests/worker-files/cluster/asyncErrorWorker.js b/tests/worker-files/cluster/asyncErrorWorker.js index 0b6f5d8a..09278851 100644 --- a/tests/worker-files/cluster/asyncErrorWorker.js +++ b/tests/worker-files/cluster/asyncErrorWorker.js @@ -1,9 +1,9 @@ 'use strict' -const { ClusterWorker, KillBehaviors } = require('../../../lib/index') +const { ClusterWorker, KillBehaviors } = require('../../../lib') const TestUtils = require('../../test-utils') async function error (data) { - return TestUtils.workerSleepFunction( + return TestUtils.sleepWorkerFunction( data, 2000, true,