Skip to content

fix(test): scale the audio input edge proptests by CI level - #3103

Merged
zackees merged 1 commit into
masterfrom
fix/audio-input-edge-cases
Oct 30, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/audio-input-edge-cases

Conversation

@zackees

@zackees zackees commented Oct 30, 2026

Copy link
Copy Markdown
Member

What

rust/obs-source/tests/source/audio_input.rs's edge proptest block wrote ProptestConfig::with_cases(4000) directly, so it ignored OBS_PARITY_CASES. This PR switches it to obs_c_oracle::parity::cases(4000), as the other proptest modules already do (#2593). PR, merge-queue and master runs now take the reduced count. Local, nightly and release runs keep 4000.

RED

source::audio_input::edge_downmix_model hit nextest's 30 s limit three times today, each time with every other test passing:

GREEN

Locally, with OBS_PARITY_CASES=reduced soldr cargo nextest run -p obs-data --test obs-tests-core -E 'test(/^source::audio_input::edge_/)', all 11 tests pass and edge_downmix_model takes 1.3 s.

Test cost: this lowers it. The reduced-level edge block goes from more than 30 s to about 1.3 s on CI; the full level is unchanged.

CI-only, with no user-visible change, so there's no ledger line.

edge_downmix_model ran 4000 full-size cases unscaled and hit nextest's
30 s limit on master b083524 (run 41121995484) and in the merge
queue for #3075 and #3093. Route the block through
obs_c_oracle::parity::cases() like the other proptest modules, so PR,
queue and master runs take the reduced count (#2593); local, nightly
and release runs keep 4000.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant