We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf4c45 commit 346d4feCopy full SHA for 346d4fe
test/parallel/test-worker-init-failure.js renamed to test/sequential/test-worker-init-failure.js
@@ -35,7 +35,7 @@ if (process.argv[2] === 'child') {
35
// (i.e. single cpu) `ulimit` may not lead to such an error.
36
37
worker.on('error', (e) => {
38
- assert.ok(e.code === 'ERR_WORKER_INIT_FAILED' || e.code === 'EMFILE');
+ assert.ok(e.code === 'ERR_WORKER_INIT_FAILED' || e.code === 'EMFILE' || e.code === 'ENOENT');
39
});
40
}
41
0 commit comments