From 725ae7d64d56727364da16d9e016162dd80016d7 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 23 Apr 2026 13:07:22 +0900 Subject: nix: remove all explicit timeouts These were useful during development because timing out is often the only indication of failure due to the terrible design of nixos vm test harness. This has become a nuisance however especially when the system is under load, so remove explicit values and fall back to the ludicrously high default. Signed-off-by: Ophestra --- test/sandbox/test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/sandbox') diff --git a/test/sandbox/test.py b/test/sandbox/test.py index f188a01d..a431daab 100644 --- a/test/sandbox/test.py +++ b/test/sandbox/test.py @@ -26,7 +26,7 @@ def swaymsg(command: str = "", succeed=True, type="command"): def check_filter(check_offset, name, pname): - pid = int(machine.wait_until_succeeds(f"pgrep -U {10000+check_offset} -x {pname}", timeout=60)) + pid = int(machine.wait_until_succeeds(f"pgrep -U {10000+check_offset} -x {pname}")) hash = machine.succeed(f"sudo -u alice -i XDG_RUNTIME_DIR=/run/user/1000 WAYLAND_DISPLAY=wayland-1 check-sandbox-{name} hash") print(machine.succeed(f"hakurei-test -s {hash} filter {pid}")) @@ -47,7 +47,7 @@ check_filter(0, "pdlike", "cat") # Check fd leak: swaymsg("exec exec 127