diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-14 03:42:59 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-14 02:42:59 +0300 |
| commit | add3dd28f91db1a2b33e9582c60ac9c1809c1bf5 (patch) | |
| tree | 19854157ba4827eeec6ce923eff180d3ed059034 /src/client/shell/composition.rs | |
| parent | 247f6d1f82a524dba87dd9f2fe9cb2aedb01932e (diff) | |
test(windows): deflake media player invalid media assertion (#4082)
* test(windows): deflake media player invalid media assertion
The Windows sound test required MediaPlayer's MediaFailed event for invalid
media. Some runners never raise it, so the script exits through its playback
timer and the test saw "sound playback timed out" instead, panicking on the
MediaFailed assertion.
Accept either terminal error and keep the timer short under test via
HERDR_SOUND_TIMEOUT_SECONDS so a missed MediaFailed no longer waits out the
production 15 second bound.
* test(windows): keep media player timeout override test-only
Generate the short-timer player script only in tests instead of reading a
process environment override. This keeps the production script's fixed 15
second bound unchanged, and the script-content test now proves the test
variant rewrites the timer.
Diffstat (limited to 'src/client/shell/composition.rs')
0 files changed, 0 insertions, 0 deletions
