Skip to content

Commit 346d4fe

Browse files
committed
test: move test-worker-init-failure to sequential
Unfortunately, the test is sensitive to resource constraints and is unreliable on macOS in CI when in parallel. Fixes: nodejs#34727
1 parent 5cf4c45 commit 346d4fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-worker-init-failure.js renamed to test/sequential/test-worker-init-failure.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if (process.argv[2] === 'child') {
3535
// (i.e. single cpu) `ulimit` may not lead to such an error.
3636

3737
worker.on('error', (e) => {
38-
assert.ok(e.code === 'ERR_WORKER_INIT_FAILED' || e.code === 'EMFILE');
38+
assert.ok(e.code === 'ERR_WORKER_INIT_FAILED' || e.code === 'EMFILE' || e.code === 'ENOENT');
3939
});
4040
}
4141

0 commit comments

Comments
 (0)