mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-17 23:52:34 +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
b8bd859125
commit
b4665579ce
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