test: skip test that cannot pass under --node-builtin-modules-path

PR-URL: https://github.com/nodejs/node/pull/42834
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
Geoffrey Booth 2022-04-25 12:24:09 -07:00 committed by GitHub
parent 2691222b65
commit f54bf2839b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,