Fix flaky test a_texture_blank_for_thousands_of_submissions_is_still_probed #349

Merged
m0rff merged 1 commit from upstream-pr/349 into main 2026-11-27 15:59:14 +00:00
m0rff commented 2026-11-27 13:36:28 +00:00 (Migrated from github.com)

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by m0rff on 2026-11-27T13:36:28Z.


Refs #344

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.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:5527554627 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/349). Originally posted by [m0rff](https://github.com/m0rff) on 2026-11-27T13:36:28Z. --- Refs #344 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.
LakshanSivakumar commented 2026-11-27 16:01:13 +00:00 (Migrated from github.com)

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T16:01:13Z.


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.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7222758882 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/349#issuecomment-7222758882). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-27T16:01:13Z. --- 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
LakshanSivakumar/Native-Victory-macOS!349
No description provided.