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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user