functional2: Increase timeout in the cycles detection test

On a busy CI the 1s timeout is not always enough

Change-Id: Ie39be01ae8818df8c9026d28907f5b145a452e3b
This commit is contained in:
Tom Hubrecht
2025-12-06 22:33:19 +00:00
parent 6928c6f952
commit 543ae33d26
+1 -1
View File
@@ -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)