drivers test: read the kept evidence through show_status, the one status sink
Fixes the test build broken by 549f4be (render is private now).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
549f4be093
commit
1518cfb13c
1 changed files with 3 additions and 1 deletions
|
|
@ -16667,7 +16667,9 @@ processes 9
|
|||
assert_eq!(kept.stdout_total_bytes, kept.stdout_tail.len() as u64);
|
||||
assert!(kept.stderr_tail.is_empty());
|
||||
assert_eq!(kept.stderr_total_bytes, 0);
|
||||
let rendered = crate::runner_evidence::render(&kept).join("\n");
|
||||
let mut shown = Vec::new();
|
||||
crate::runner_evidence::show_status(&mut shown, &store, "tx-vili")?;
|
||||
let rendered = String::from_utf8(shown)?;
|
||||
assert!(rendered.contains("stderr (last 0 of 0 bytes)"), "{rendered}");
|
||||
assert!(rendered.contains(&format!("| not ok 1 - daemon {RUNNER_CANARY}")), "{rendered}");
|
||||
// Debug names the failure and prints no tail.
|
||||
|
|
|
|||
Loading…
Reference in a new issue