test: accept startup and supervisor SIGKILL diagnostics

This commit is contained in:
Palash Debnath
2026-09-17 16:28:42 +05:30
parent a8581f899e
commit b1f900c996
2 changed files with 8 additions and 1 deletions
+2
View File
@@ -16,6 +16,8 @@ the frozen-backend fallback mirror it for their toolchains.
### Fixed
- Accept both valid SIGKILL diagnostics in the desktop lifecycle regression check (#2170)
- Repair CTranslate2 loading safely across ASR and translation, and retain the loaded Whisper model during CPU fallback (#2165) — thanks @guruthechosen!
- Avoid pedalboard wheels that crash on unsupported CPU instructions (#2080) — thanks @D3nii!
- Include cuDNN 8 compatibility libraries for CTranslate2 in CUDA containers (#2072) — thanks @basil-k-aji-dev!
@@ -1702,7 +1702,12 @@ fn sigkill_is_named_as_signal_nine() {
join_with_timeout(h, Duration::from_secs(120), "sigkill loop");
let msg = t.failed_message().expect("stage must be Failed");
assert!(msg.contains("signal 9"), "signal deaths must be named, got: {msg}");
// A slow runner can observe this death during readiness instead of in the
// supervisor. Both paths identify SIGKILL; only their formatting differs.
assert!(
msg.contains("signal 9") || msg.contains("signal: 9 (SIGKILL)"),
"signal deaths must be named, got: {msg}"
);
let store = t.markers();
let m = store.markers.last().expect("marker written");
assert_eq!(m.exit_code, None);