From 8cc7d1bacdba14ed50a9ae7dc5ceacfe87ae3ead Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 7 Nov 2026 08:44:18 -0800 Subject: [PATCH] Test: the at-once notice's bounds read in its own wording The check looked for " 60 s" where the notice says "(60 s while", so it failed on Linux (ms01 job 4085, 3 of 3). It now reads each bound where the notice names it. Verified: the wording matched against AT_ONCE_NOTICE by hand; the Linux run follows. (cherry picked from commit 4da8cc36e157e307d6c179a1ba9087c11c2ca887) --- crates/metal2vulkan-runtime/src/tests/exit_guard.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-runtime/src/tests/exit_guard.rs b/crates/metal2vulkan-runtime/src/tests/exit_guard.rs index 088099327..edaed5cdc 100644 --- a/crates/metal2vulkan-runtime/src/tests/exit_guard.rs +++ b/crates/metal2vulkan-runtime/src/tests/exit_guard.rs @@ -1058,8 +1058,11 @@ fn a_busy_exit_past_the_bound_ends_at_once_with_its_status() { #[cfg(all(target_os = "linux", target_env = "gnu"))] #[test] fn the_at_once_notice_names_the_bounds() { - for bound in [exit_guard::BOUND, exit_guard::MAKING_BOUND] { - let named = format!(" {} s", bound.as_secs()); + let named = [ + format!("wait of {} s", exit_guard::BOUND.as_secs()), + format!("({} s while", exit_guard::MAKING_BOUND.as_secs()), + ]; + for named in named { assert!( exit_guard::AT_ONCE_NOTICE.contains(&named), "{named:?} in {}",