Mark flaky NixOS tests #216828
Labels
0.kind: bug
Something is broken
0.kind: enhancement
Add something new
6.topic: developer experience
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
6.topic: testing
Tooling for automated testing of packages and modules
Describe the bug
We have become accustomed to some tests failing every now and then.
Making sweeping changes is harder than necessary because we can't trust the outcomes of tests.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Flaky tests can be marked as such, so that they can still be fixed and don't bog anyone down.
See also earlier short discussion:
Some requirements for the marking solution:
mapAttrs
to set some tests to null (and only on Hydra)pkgs.nixosTests
attrset works the same regardless of flakiness statuspkgs.nixosTests
prints a warning when evaluation or running a known-flaky testAdditional context
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: