X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FlongRunningWorkerSoftBehavior.js;h=0459acf73067dde08a3eadf59bbad27783fc2ce5;hb=0bc53e954d6d832092db4ea6ccea8b0f8f071ebe;hp=208e5ba2d46da64e9d1418f68e0f10abe8a54deb;hpb=bac873bd6581e5d5c0884bc520e9ec3c446509e6;p=poolifier.git diff --git a/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js b/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js index 208e5ba2..0459acf7 100644 --- a/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js +++ b/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js @@ -1,9 +1,9 @@ 'use strict' const { ClusterWorker } = require('../../../lib') -const { sleepWorkerFunction } = require('../../test-utils') +const { sleepTaskFunction } = require('../../test-utils.js') async function sleep (data) { - return sleepWorkerFunction(data, 50000) + return sleepTaskFunction(data, 50000) } module.exports = new ClusterWorker(sleep, {