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 bbfb014 commit 5cf4c45Copy full SHA for 5cf4c45
1 file changed
test/parallel/test-worker-init-failure.js
@@ -35,7 +35,6 @@ 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.match(e.message, /EMFILE/);
39
assert.ok(e.code === 'ERR_WORKER_INIT_FAILED' || e.code === 'EMFILE');
40
});
41
}
0 commit comments