Apply dependencies update
[poolifier.git] / tests / worker-files / cluster / asyncWorker.js
index bceaffaee96e0e32f7f22c151930acfb0c57b3d8..b9ad419f82f97e61646ecd6c35cbb89ab9b6ec83 100644 (file)
@@ -3,7 +3,7 @@ const { ClusterWorker, KillBehaviors } = require('../../../lib/index')
 const TestUtils = require('../../test-utils')
 
 async function sleep (data) {
-  return TestUtils.workerSleepFunction(data, 2000)
+  return TestUtils.sleepWorkerFunction(data, 2000)
 }
 
 module.exports = new ClusterWorker(sleep, {