Skip to content

Commit

Permalink
test: exit with non zero code on error (#2179)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelgrosso1 authored Apr 11, 2023
1 parent 5e4e5b6 commit b122e18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal-tooling/performanceTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ function createWorker() {
});
w.on('error', e => {
log(e, true, true);
// BBMC will not report errors unless the process is terminated with a non zero code.
// eslint-disable-next-line no-process-exit
process.exit(1);
});
}

Expand Down

0 comments on commit b122e18

Please sign in to comment.