Skip to content

Commit

Permalink
test: move test-worker-init-failure to sequential
Browse files Browse the repository at this point in the history
Unfortunately, the test is sensitive to resource constraints and is
unreliable on macOS in CI when in parallel.

Fixes: nodejs#34727
  • Loading branch information
Trott committed Aug 11, 2020
1 parent 5cf4c45 commit 346d4fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (process.argv[2] === 'child') {
// (i.e. single cpu) `ulimit` may not lead to such an error.

worker.on('error', (e) => {
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');
});
}

Expand Down

0 comments on commit 346d4fe

Please sign in to comment.