X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FlongRunningWorkerSoftBehavior.js;h=0459acf73067dde08a3eadf59bbad27783fc2ce5;hb=30d7f6e094a9b837fd85c74ef23188ab28e86644;hp=c9515a33adfbcdfcbfae0dc5df072fe06d7996f3;hpb=6677a3d36e9e7241c54db7cd69daa40f52fcbcb3;p=poolifier.git diff --git a/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js b/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js index c9515a33..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 TestUtils = require('../../test-utils') +const { sleepTaskFunction } = require('../../test-utils.js') async function sleep (data) { - return TestUtils.sleepWorkerFunction(data, 50000) + return sleepTaskFunction(data, 50000) } module.exports = new ClusterWorker(sleep, {