exit from worker process

This commit is contained in:
Florian Dold 2021-01-13 13:48:28 +01:00
parent e44b86b084
commit e70144405c
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -296,8 +296,13 @@ if (runTestInstrStr) {
process.send(testResult); process.send(testResult);
}; };
runTest().catch((e) => { runTest()
console.log(e); .then(() => {
process.exit(1); console.log(`test ${testName} finished in worker`);
}); process.exit(0);
})
.catch((e) => {
console.log(e);
process.exit(1);
});
} }