Add fair sharing worker choice strategy
[poolifier.git] / benchmarks / internal / benchmark-utils.js
index debe0b1cea518fd43a53295322a314e6736c5999..6c9e23aab93f8b239d2e4505f7e30aa9bf81a16a 100644 (file)
@@ -11,7 +11,10 @@ async function runPoolifierTest (pool, { tasks, workerData }) {
           }
           return null
         })
-        .catch(err => console.error(err))
+        .catch(err => {
+          console.error(err)
+          return reject(err)
+        })
     }
   })
 }