X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fthread%2FlongRunningWorkerHardBehavior.js;h=d81f7f9020c1500d715a8ac5077c91c6e0334701;hb=2cfaaca0ed2e25699bfffea2d164a1bcee1928a3;hp=791853e368a62b24f4da5520fb8b0b81885ea316;hpb=6677a3d36e9e7241c54db7cd69daa40f52fcbcb3;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, {