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: nodejs/node#42834
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
GeoffreyBooth authored and guangwong committed Oct 10, 2022
1 parent 714d53b commit 8610ff5
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 8610ff5

Please sign in to comment.