exit from worker process
This commit is contained in:
parent
e44b86b084
commit
e70144405c
@ -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);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user