From 773253fdf5388dd77d817be98024cc975d207104 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 24 Sep 2025 19:41:59 +0900 Subject: [PATCH] test/sandbox: raise timeout The integration vm is being very slow for some reason. This change should reduce spurious timeouts. Signed-off-by: Ophestra --- test/sandbox/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sandbox/test.py b/test/sandbox/test.py index b1b6339..b36e9ab 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 {1000000+check_offset} -x {pname}", timeout=15)) + pid = int(machine.wait_until_succeeds(f"pgrep -U {1000000+check_offset} -x {pname}", timeout=60)) 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}")) @@ -60,7 +60,7 @@ check_offset = 0 def check_sandbox(name): global check_offset swaymsg(f"exec script /dev/null -E always -qec check-sandbox-{name}") - machine.wait_for_file(f"/var/tmp/.hakurei-check-ok.{check_offset}", timeout=15) + machine.wait_for_file(f"/var/tmp/.hakurei-check-ok.{check_offset}", timeout=60) check_filter(check_offset, name, "hakurei-test") check_offset += 1