X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FlongRunningWorkerHardBehavior.js;h=e308eb5ce3923306c36b71d458f013733bd72f56;hb=e677f6c55e0bb599d8e589a937a928229ecd6fea;hp=cb92fcaf3a3bb093e928d0f3ac891052ad87c9af;hpb=6677a3d36e9e7241c54db7cd69daa40f52fcbcb3;p=poolifier.git diff --git a/tests/worker-files/cluster/longRunningWorkerHardBehavior.js b/tests/worker-files/cluster/longRunningWorkerHardBehavior.js index cb92fcaf..e308eb5c 100644 --- a/tests/worker-files/cluster/longRunningWorkerHardBehavior.js +++ b/tests/worker-files/cluster/longRunningWorkerHardBehavior.js @@ -1,9 +1,9 @@ 'use strict' const { ClusterWorker, KillBehaviors } = require('../../../lib') -const TestUtils = require('../../test-utils') +const { sleepWorkerFunction } = require('../../test-utils') async function sleep (data) { - return TestUtils.sleepWorkerFunction(data, 50000) + return sleepWorkerFunction(data, 50000) } module.exports = new ClusterWorker(sleep, {