nodejs: disable failing test on darwin

(cherry picked from commit b97f76c701)
This commit is contained in:
Antoine du Hamel
2025-10-13 22:33:35 +02:00
committed by Vladimír Čunát
parent 86cccfb9e2
commit 65ddd7eb1d

View File

@@ -428,6 +428,9 @@ let
# Those are annoyingly flaky, but not enough to be marked as such upstream.
"test-wasi"
# This is failing on newer macOS versions, no fix has yet been provided upstream:
"test-cluster-dgram-1"
]
++ lib.optionals (stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isx86_64) [
# These tests fail on x86_64-darwin (even without sandbox).
@@ -442,12 +445,9 @@ let
]
# Those are annoyingly flaky, but not enough to be marked as such upstream.
++ lib.optional (majorVersion == "22") "test-child-process-stdout-flush-exit"
++ lib.optionals (majorVersion == "22" && stdenv.buildPlatform.isDarwin) [
"test-cluster-dgram-1"
"test/sequential/test-http-server-request-timeouts-mixed.js"
]
# This is failing on newer macOS versions, no fix has yet been provided upstream:
++ lib.optional (majorVersion == "24" && stdenv.buildPlatform.isDarwin) "test-cluster-dgram-1"
++ lib.optional (
majorVersion == "22" && stdenv.buildPlatform.isDarwin
) "test/sequential/test-http-server-request-timeouts-mixed.js"
)
}"
];