X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fworker-files%2Fcluster%2FasyncErrorWorker.js;h=02daa5b5a1f3ee77d1eab04a5dcbc281bc0dd639;hb=b1620ccf72bc772e9d0542da28dcff9e52b4174a;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..02daa5b5 100644 --- a/tests/worker-files/cluster/asyncErrorWorker.js +++ b/tests/worker-files/cluster/asyncErrorWorker.js @@ -3,7 +3,7 @@ const { ClusterWorker, KillBehaviors } = require('../../../lib/index') const TestUtils = require('../../test-utils') async function error (data) { - return TestUtils.workerSleepFunction( + return TestUtils.sleepWorkerFunction( data, 2000, true,