X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fthread%2FasyncWorker.js;h=2191a12e85240de96646fc2d2dfd4d10622ab5d0;hb=9cd39dd47830f0923cd3ebf53b709bf7fb07e788;hp=6508d6dac5d313bcd41b458643fa1a7efd3d1124;hpb=bdacc2d25f190728221f7fb8c8cd2aba175cb18d;p=poolifier.git diff --git a/tests/worker-files/thread/asyncWorker.js b/tests/worker-files/thread/asyncWorker.js index 6508d6da..2191a12e 100644 --- a/tests/worker-files/thread/asyncWorker.js +++ b/tests/worker-files/thread/asyncWorker.js @@ -3,7 +3,7 @@ const { ThreadWorker, KillBehaviors } = require('../../../lib/index') const TestUtils = require('../../test-utils') async function sleep (data) { - return TestUtils.workerSleepFunction(data, 2000) + return TestUtils.sleepWorkerFunction(data, 2000) } module.exports = new ThreadWorker(sleep, {