From 543ae33d26695e412cf0cb52761003fa0717f1b5 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sat, 6 Dec 2025 21:42:54 +0100 Subject: [PATCH] functional2: Increase timeout in the cycles detection test On a busy CI the 1s timeout is not always enough Change-Id: Ie39be01ae8818df8c9026d28907f5b145a452e3b --- tests/functional2/eval/test_eval_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional2/eval/test_eval_cli.py b/tests/functional2/eval/test_eval_cli.py index a00fbb977..3df722ea5 100644 --- a/tests/functional2/eval/test_eval_cli.py +++ b/tests/functional2/eval/test_eval_cli.py @@ -117,7 +117,7 @@ def test_valid_restricted_toFile(nix: Nix): # noqa: N802 # builtin name @with_files({"cycle.nix": Symlink("cycle.nix")}) # timeout given in seconds -@pytest.mark.timeout(1) +@pytest.mark.timeout(30) def test_invalid_no_hang_symlink_cycle(nix: Nix): """Check that symlink cycles don't cause a hang.""" res = nix.nix(["eval", "--file", "cycle.nix"]).run().expect(1)