Fix random integer generator
[poolifier.git] / tests / worker-files / cluster / asyncErrorWorker.js
index 0b6f5d8acb937a02bc4dcb47d855f6a89456ddc2..02daa5b5a1f3ee77d1eab04a5dcbc281bc0dd639 100644 (file)
@@ -3,7 +3,7 @@ const { ClusterWorker, KillBehaviors } = require('../../../lib/index')
 const TestUtils = require('../../test-utils')
 
 async function error (data) {
-  return TestUtils.workerSleepFunction(
+  return TestUtils.sleepWorkerFunction(
     data,
     2000,
     true,