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 <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
GeoffreyBooth authored and targos committed Jul 31, 2022
1 parent e8ef4f2 commit 3d9975e
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 3d9975e

Please sign in to comment.