mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-06 02:48:25 +00:00
test(workflow): fix watchdog event assertion
The test captures Debug output from RunEvent, which renders the event body variant name rather than the canonical envelope string. Assert on StallWatchdogTimeout so the check matches the collected output.
This commit is contained in:
parent
8a2d00591b
commit
65f1efd507
1 changed files with 2 additions and 2 deletions
|
|
@ -12139,8 +12139,8 @@ async fn e2e_stall_watchdog_triggers_from_dot_parsed_pipeline() {
|
|||
// Verify the canonical watchdog timeout envelope was emitted.
|
||||
let collected = events.lock().unwrap();
|
||||
assert!(
|
||||
collected.iter().any(|e| e.contains("watchdog.timeout")),
|
||||
"expected watchdog.timeout event in: {collected:?}"
|
||||
collected.iter().any(|e| e.contains("StallWatchdogTimeout")),
|
||||
"expected StallWatchdogTimeout event in: {collected:?}"
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue