Skip to content

Commit 98db2e7

Browse files
GeoffreyBoothjuanarbol
authored andcommitted
test: skip test that cannot pass under --node-builtin-modules-path
PR-URL: #42834 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent ecb4d0b commit 98db2e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/parallel/test-worker-init-failure.js

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ if (common.isWindows) {
1010
common.skip('ulimit does not work on Windows.');
1111
}
1212

13+
if (process.config.variables.node_builtin_modules_path) {
14+
common.skip('this test cannot pass when Node.js is built with --node-builtin-modules-path');
15+
}
16+
1317
// A reasonably low fd count. An empty node process
1418
// creates around 30 fds for its internal purposes,
1519
// so making it too low will crash the process early,

0 commit comments

Comments
 (0)