test(translate): ignore unrelated tracing lines in translate_host_wave stderr check #27

Manually merged
github merged 1 commit from github-bot/gh-27 into main 2026-12-04 01:57:22 +00:00 AGit
Owner

@⁠wagney on GitHub · 2026-12-03 16:01 UTC · original
wagney:fix/translate-host-wave-stderr-test → main · +6 −2 · 1 files · 1 commits · merged 2026-12-04 01:54 UTC

Alternative A for fixing translate_host_wave::reports_malformed_environment_in_both_translate_modes.

Cause

In --warm all mode, shader_cache emits an INFO [shader] packed shader cache ready tracing line to stderr, which breaks the exact stderr.lines() equality assertion.

Change

Filter stderr.lines() to ignoring VICTORY_HOST_ / using VICTORY_HOST_ notices instead of asserting on every unrelated tracing line.

Verification

  • cargo test --offline --locked -p victory --test translate_host_wave: 3 passed, 0 failed.
**@⁠wagney** on GitHub · 2026-12-03 16:01 UTC · [original](https://github.com/ReTerryDavis/ReVIctory/pull/27) `wagney:fix/translate-host-wave-stderr-test` → `main` · +6 −2 · 1 files · 1 commits · merged 2026-12-04 01:54 UTC Alternative A for fixing `translate_host_wave::reports_malformed_environment_in_both_translate_modes`. ### Cause In `--warm all` mode, `shader_cache` emits an `INFO [shader] packed shader cache ready` tracing line to stderr, which breaks the exact `stderr.lines()` equality assertion. ### Change Filter `stderr.lines()` to `ignoring VICTORY_HOST_` / `using VICTORY_HOST_` notices instead of asserting on every unrelated tracing line. ### Verification - `cargo test --offline --locked -p victory --test translate_host_wave`: 3 passed, 0 failed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 16:02:32 +00:00
github manually merged commit a80de7db13 into main 2026-12-04 01:57:22 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.