From c9041aef41ffabd11b3d7d0773da1a9aef0bafaa Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Tue, 23 Sep 2025 02:50:35 +0200 Subject: [PATCH] thrift: get darwin disabledTests back --- pkgs/by-name/th/thrift/package.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/by-name/th/thrift/package.nix b/pkgs/by-name/th/thrift/package.nix index a0812de681c6..ac0a73247061 100644 --- a/pkgs/by-name/th/thrift/package.nix +++ b/pkgs/by-name/th/thrift/package.nix @@ -80,7 +80,28 @@ stdenv.mkDerivation (finalAttrs: { disabledTests = [ "UnitTests" # getaddrinfo() -> -3; Temporary failure in name resolution "python_test" # many failures about python 2 or network things + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # Tests that hang up in the Darwin sandbox + "SecurityTest" + "SecurityFromBufferTest" + "python_test" + + # fails on hydra, passes locally + "concurrency_test" + + # Tests that fail in the Darwin sandbox when trying to use network + "UnitTests" + "TInterruptTest" + "TServerIntegrationTest" + "processor" + "TNonblockingServerTest" + "TNonblockingSSLServerTest" + "StressTest" + "StressTestConcurrent" + "StressTestNonBlocking" ]; + doCheck = !static; enableParallelChecking = false;