X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fthread%2FlongRunningWorkerSoftBehavior.js;h=3b90236c97cbdb61677fb2b4aae4bb08fadc8ca6;hb=8a7983a0862fe0b647c4f3c5a6b05155d4ce8c31;hp=eda5a4059643c3efd092a9e269ad54b18fc8ecd7;hpb=bac873bd6581e5d5c0884bc520e9ec3c446509e6;p=poolifier.git diff --git a/tests/worker-files/thread/longRunningWorkerSoftBehavior.js b/tests/worker-files/thread/longRunningWorkerSoftBehavior.js index eda5a405..3b90236c 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') -const { sleepWorkerFunction } = require('../../test-utils') +const { sleepTaskFunction } = require('../../test-utils') async function sleep (data) { - return sleepWorkerFunction(data, 50000) + return sleepTaskFunction(data, 50000) } module.exports = new ThreadWorker(sleep, {