X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fthread%2FlongRunningWorkerHardBehavior.js;h=d81f7f9020c1500d715a8ac5077c91c6e0334701;hb=bac873bd6581e5d5c0884bc520e9ec3c446509e6;hp=791853e368a62b24f4da5520fb8b0b81885ea316;hpb=5931725336d0de8a06146641ae6feef22bf60e6e;p=poolifier.git diff --git a/tests/worker-files/thread/longRunningWorkerHardBehavior.js b/tests/worker-files/thread/longRunningWorkerHardBehavior.js index 791853e3..d81f7f90 100644 --- a/tests/worker-files/thread/longRunningWorkerHardBehavior.js +++ b/tests/worker-files/thread/longRunningWorkerHardBehavior.js @@ -1,9 +1,9 @@ 'use strict' const { ThreadWorker, 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 ThreadWorker(sleep, {