Skip to content

Commit

Permalink
haskellPackages.immortal: disable flaky tests on darwin
Browse files Browse the repository at this point in the history
It took 5 tries in <https://hydra.nixos.org/eval/1809897> for the tests
to succeed on x86_64 and aarch64 darwin, respectively.
  • Loading branch information
sternenseemann committed Nov 13, 2024
1 parent b3a71c7 commit 57fd2fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/haskell-modules/configuration-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit 57fd2fc

Please sign in to comment.