X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fthread%2FlongRunningWorkerSoftBehavior.js;h=c6fa5393f44830bd9e8af28dabc473ad6198d8b3;hb=f63a9dda55a5f7a3a0dd8f173dbdeca72654369d;hp=65195d6f64388aaf7cc3e78eacf58ca35355a319;hpb=9c8526b801b42a5b40bfa5cec6f6e2082ffc9da7;p=poolifier.git diff --git a/tests/worker-files/thread/longRunningWorkerSoftBehavior.js b/tests/worker-files/thread/longRunningWorkerSoftBehavior.js index 65195d6f..c6fa5393 100644 --- a/tests/worker-files/thread/longRunningWorkerSoftBehavior.js +++ b/tests/worker-files/thread/longRunningWorkerSoftBehavior.js @@ -1,9 +1,9 @@ 'use strict' -const { ThreadWorker } = require('../../../lib/index') +const { ThreadWorker } = require('../../../lib') const TestUtils = require('../../test-utils') async function sleep (data) { - return TestUtils.workerSleepFunction(data, 50000) + return TestUtils.sleepWorkerFunction(data, 50000) } module.exports = new ThreadWorker(sleep, {