From d25d9b6a2dc90773039864bbf66c3229b6227cde Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 9 Jul 2024 10:11:48 +0100 Subject: [PATCH] nodejs: disable JS test suite on Darwin This was recently enabled in #313982. It seems to be much too flaky on Darwin currently, especially x86; see: * * * * Disable these tests on macOS for now as the broken Node.js package is holding up a lot of builds. Fixes: b26563aae2a1fce011ac52e28ff23a460866e82f --- pkgs/development/web/nodejs/nodejs.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 28fef6832bef0..9c7a2ee7ef098 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -133,13 +133,15 @@ let # Some dependencies required for tools/doc/node_modules (and therefore # test-addons, jstest and others) target are not included in the tarball. # Run test targets that do not require network access. - checkTarget = lib.concatStringsSep " " [ + checkTarget = lib.concatStringsSep " " ([ "build-js-native-api-tests" "build-node-api-tests" "tooltest" "cctest" + ] ++ lib.optionals (!stdenv.isDarwin) [ + # TODO: JS test suite is too flaky on Darwin; revisit at a later date. "test-ci-js" - ]; + ]); checkFlags = [ # Do not create __pycache__ when running tests.