From 57fd2fcf1f2264e80347e8ed45f3600130d7375b Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 13 Nov 2024 23:43:09 +0100 Subject: [PATCH] haskellPackages.immortal: disable flaky tests on darwin It took 5 tries in for the tests to succeed on x86_64 and aarch64 darwin, respectively. --- pkgs/development/haskell-modules/configuration-darwin.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index 1c432ce3c937..844e38f9e4fa 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -94,6 +94,12 @@ self: super: ({ ''; }) super.git-annex; + # on*Finish tests rely on a threadDelay timing differential of 0.1s. + # You'd think that's plenty of time even though immediate rescheduling + # after threadDelay is not guaranteed. However, it appears that these + # tests are quite flaky on Darwin. + immortal = dontCheck super.immortal; + # Prevents needing to add `security_tool` as a run-time dependency for # everything using x509-system to give access to the `security` executable. #