Skip to content

Commit

Permalink
test: skip test that cannot pass under --node-builtin-modules-path
Browse files Browse the repository at this point in the history
PR-URL: #42834
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
GeoffreyBooth authored and targos committed Jul 12, 2022
1 parent 7a1588d commit c3db59d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/parallel/test-worker-init-failure.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ if (common.isWindows) {
common.skip('ulimit does not work on Windows.');
}

if (process.config.variables.node_builtin_modules_path) {
common.skip('this test cannot pass when Node.js is built with --node-builtin-modules-path');
}

// A reasonably low fd count. An empty node process
// creates around 30 fds for its internal purposes,
// so making it too low will crash the process early,
Expand Down

0 comments on commit c3db59d

Please sign in to comment.