From 421fa596deddb7d3dd2d494ce8f6deb23c71fce0 Mon Sep 17 00:00:00 2001 From: Ian Walter Date: Wed, 24 Apr 2019 19:49:45 -0400 Subject: [PATCH] Forcing pool termination if hasFastFailure is true --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ddf5aeb5..8e8a89cd 100644 --- a/index.js +++ b/index.js @@ -204,7 +204,7 @@ function run (config) { } // Terminate the execution pool if all tests have been run. - executionPool.terminate() + executionPool.terminate(context.hasFastFailure) .then(() => print.debug('Execution pool terminated')) // Resolve the run Promise with the run context which contains