Skip to content

fix: stabilize parallel Windows media tests and ffprobe checks - #252

Open
yxr-2025 wants to merge 1 commit into
appergb:mainfrom
yxr-2025:fix/windows-media-tests
Open

yxr-2025 wants to merge 1 commit into
appergb:mainfrom
yxr-2025:fix/windows-media-tests

Conversation

@yxr-2025

Copy link
Copy Markdown

Windows media tests depended on Unix mkfifo, and parallel probe activity could make availability checks report an installed FFprobe as unavailable. Replace the cancellation fixture with a connected, silent TCP input and let availability checks wait for capacity within their existing deadline.

Bound real media test workflows with a shared four-slot test budget. Production probes retain the existing eight-slot limit and immediate overload rejection; an isolated regression covers saturation, recovery and deadline handling.

Validated independently on Windows 11 with FFmpeg/FFprobe 9.0.2:

  • Full media package: 451 passed, two existing tests ignored.
  • Five consecutive 32-thread runs each: 427 unit tests and 15 FFmpeg integration tests passed per run.
  • Formatting, Clippy and documentation checks passed. Clippy reported two existing deprecation warnings.

Windows validation record.

Replace the Unix-only cancellation FIFO with a connected, silent TCP input.
Wait for probe-check capacity within the existing deadline and keep the
business probe overload limit unchanged. Bound real test workflows with a
shared four-slot fixture budget and cover saturated availability separately.

Validation on this independent branch: full media package 451 passed with
2 existing ignored tests; 32-thread unit and FFmpeg integration suites each
passed five consecutive runs. Format, Clippy and documentation checks passed.
@yxr-2025
yxr-2025 requested a review from appergb as a code owner November 16, 2026 09:55
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.

1 participant