Skip to content

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

Fixes https://github.com/nodejs/node/issues/40879.

The test test-worker-init-failure.js cannot pass when Node is built using --node-builtin-modules-path, because the test intentionally lowers the limit of the number of files that can be concurrently opened and using builtin modules blows past this limit. See error in https://github.com/nodejs/node/issues/40879#issuecomment-1104697730.

The test is already skipped in Windows environments. This PR makes it also get skipped when Node is built using --node-builtin-modules-path. This makes development easier, as now I can develop using --node-builtin-modules-path and run the tests and expect all of them to pass (unless my new code broke something). cc @HarshithaKP @addaleax @trott

Merge request reports

Loading