From 7b701442de42329ea2b244a18226d51bb14529b2 Mon Sep 17 00:00:00 2001 From: Geoffrey Booth <456802+GeoffreyBooth@users.noreply.github.com> Date: Mon, 25 Apr 2022 12:24:09 -0700 Subject: [PATCH] test: skip test that cannot pass under --node-builtin-modules-path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/42834 Reviewed-By: Antoine du Hamel Reviewed-By: Michaƫl Zasso --- test/parallel/test-worker-init-failure.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/parallel/test-worker-init-failure.js b/test/parallel/test-worker-init-failure.js index a15d8a75617a16..078329ee68874f 100644 --- a/test/parallel/test-worker-init-failure.js +++ b/test/parallel/test-worker-init-failure.js @@ -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,