From 494343c2749a392f17e0db1271a467a15222b413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ju=CC=88rg=20Lehni?= Date: Tue, 20 Oct 2026 23:39:36 +0200 Subject: [PATCH] Fix: the root-argument tests give the app 30 seconds to exit, not 5, which the binary's start alone took on a loaded machine (the workspace's other tests running meanwhile), so they failed there; 30 still catches a desktop that started instead of exiting --- apps/vectorcraft/tests/automation_args.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/vectorcraft/tests/automation_args.rs b/apps/vectorcraft/tests/automation_args.rs index ffb8773ef..67e2ec846 100644 --- a/apps/vectorcraft/tests/automation_args.rs +++ b/apps/vectorcraft/tests/automation_args.rs @@ -25,7 +25,9 @@ fn rejects_with_env(args: &[&str], env: &[(&str, &str)], message: &str) { .stderr(Stdio::piped()) .spawn() .unwrap(); - let deadline = Instant::now() + Duration::from_secs(5); + // Long enough for the binary to start on a loaded machine (the workspace's other tests run + // meanwhile), short enough to catch a desktop that started instead of exiting. + let deadline = Instant::now() + Duration::from_secs(30); let timed_out = loop { if child.try_wait().unwrap().is_some() { break false;