Skip to content

test(engine): give the real-ffmpeg group mix suite a 60s timeout - #3397

Closed
vanceingalls wants to merge 1 commit into
mainfrom
fix/audio-mixer-windows-timeout
Closed

test(engine): give the real-ffmpeg group mix suite a 60s timeout#3397
vanceingalls wants to merge 1 commit into
mainfrom
fix/audio-mixer-windows-timeout

Conversation

@vanceingalls

Copy link
Copy Markdown
Collaborator

Tests on windows-latest failed on #3290 with Test timed out in 5000ms at mix level arithmetic > a group FX chain fully cutting its members leaves an ungrouped track untouched (routing isolation). #3290 merged before this fix landed on its branch, so it comes as its own PR.

Every case in that suite shells out to real ffmpeg at least twice — the mix under test plus a reference mix to compare it against. 5s is enough on Linux and not on the Windows runner: a slow host, not a hung mix.

vi.setConfig({ testTimeout: 60_000 }) rather than a describe(..., 60_000) argument — the latter makes the callback a second parameter, and oxfmt then reindents all 170 lines of the suite for one number (354-line diff vs 8).

🤖 Generated with Claude Code

`routing isolation` timed out at 30,000ms on the Windows runner again (#3401).
It is not a hang and not that PR's doing — that diff touches no engine code, and
on main's last passing Windows run the same test measured 10,050ms with the file
at 19,446ms. A ~10s test under a 30s cap on a runner with this much variance
fails on any bad host; 120s is ~12x the healthy time, so a timeout should mean a
real stall again.

Written as per-test arguments, replacing #3398's 30s ones. My earlier attempt at
this (#3397) added `vi.setConfig({ testTimeout: 60_000 })` instead, which would
have merged and changed nothing: an explicit per-test argument overrides the
file-level config. Verified directly — a 50ms argument beats a 60s setConfig.
@vanceingalls
vanceingalls force-pushed the fix/audio-mixer-windows-timeout branch from 5b44a86 to 16a9c29 Compare August 21, 2026 22:48

@miga-heygen miga-heygen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve. Per-test timeout bump from 30s to 120s on the real-ffmpeg group mix suite — ~12x the healthy Linux time, generous enough to absorb Windows runner variance without masking a genuine stall. Comment explains the rationale clearly. Using per-test arguments rather than vi.setConfig is correct since the per-test arg overrides the file-level config. No issues.

— Miga

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants