Fix flaky test a_texture_blank_for_thousands_of_submissions_is_still_probed #351

Manually merged
github merged 1 commit from github-bot/gh-349 into main 2026-11-27 15:59:43 +00:00 AGit
Owner

@⁠m0rff on GitHub · 2026-11-27 13:36 UTC · original
m0rff:m0rff/solve-issue-344 → main · +6 −9 · 1 files · 1 commits · merged 2026-11-27 15:59 UTC

Refs #346

The test drops the title lock between its two blocks and checks the write with the 2 ms probe deadline. Under load a round the deadline cuts short probes only MIN_SYNC_HOT (32) of the blank textures, round-robin. Other tests leave many blank textures behind, so four submissions may not reach this one.

Same fix as the two sibling tests in #308: one title lock for the whole test, and the submission after the write probes without a deadline. The assertion is now stricter: the write is uploaded at the next submission, not within four. The 2,000 aging submissions still use the deadline.

Stress results (texture_tests module, 8 threads, 4 CPU burners) to follow.

**@⁠m0rff** on GitHub · 2026-11-27 13:36 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/349) `m0rff:m0rff/solve-issue-344` → `main` · +6 −9 · 1 files · 1 commits · merged 2026-11-27 15:59 UTC Refs #346 The test drops the title lock between its two blocks and checks the write with the 2 ms probe deadline. Under load a round the deadline cuts short probes only `MIN_SYNC_HOT` (32) of the blank textures, round-robin. Other tests leave many blank textures behind, so four submissions may not reach this one. Same fix as the two sibling tests in #308: one title lock for the whole test, and the submission after the write probes without a deadline. The assertion is now stricter: the write is uploaded at the next submission, not within four. The 2,000 aging submissions still use the deadline. Stress results (texture_tests module, 8 threads, 4 CPU burners) to follow.
Under load a round the deadline cuts short probes only MIN_SYNC_HOT of the
blank textures other tests leave behind, so four submissions may not reach
this one. Refs #344
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 13:39:03 +00:00
github manually merged commit ffd7c47643 into main 2026-11-27 15:59:43 +00:00
Author
Owner

@⁠LakshanSivakumar on GitHub · 2026-11-27 16:01 UTC · original

Merged in 002c3291. The full victory-gpu suite passed on the merged tree (native arm64), along with Windows clippy and the policy check. I did not run the stress loop myself. Thanks.

**@⁠LakshanSivakumar** on GitHub · 2026-11-27 16:01 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/349#issuecomment-7222758882) Merged in 002c3291. The full victory-gpu suite passed on the merged tree (native arm64), along with Windows clippy and the policy check. I did not run the stress loop myself. Thanks.
github-bot referenced this pull request from a commit 2026-11-27 16:23:10 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.