Skip to content

Commit

Permalink
Forcing pool termination if hasFastFailure is true
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Walter committed Apr 24, 2019
1 parent f5a0596 commit 421fa59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 421fa59

Please sign in to comment.