Skip to content

Commit b122e18

Browse files
authored
test: exit with non zero code on error (#2179)
1 parent 5e4e5b6 commit b122e18

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal-tooling/performanceTest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ function createWorker() {
103103
});
104104
w.on('error', e => {
105105
log(e, true, true);
106+
// BBMC will not report errors unless the process is terminated with a non zero code.
107+
// eslint-disable-next-line no-process-exit
108+
process.exit(1);
106109
});
107110
}
108111

0 commit comments

Comments
 (0)