From 44ef00a569de96ce65acc425507aee4a43f75f01 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. (cherry picked from commit 57fd2fcf1f2264e80347e8ed45f3600130d7375b) --- 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 9ecc35c9aac7..6db3d59d9101 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -93,6 +93,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. #