test(platform): retry the map at a fresh address when another test took it #109
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!109
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-109"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Olima34 on GitHub · 2026-11-26 16:28 UTC · original
Olima34:fix/platform-test-address-race→main· +13 −9 · 1 files · 1 commits · merged 2026-11-26 16:38 UTCWhat this changes
victory-platform'sa_page_pool_maps_at_several_addressesfailed #105's Windows CI with error 487 ("Attempt to access invalid address") attests/conformance.rs:102. On Windows, which maps over free space only, the test releases its reservation and then maps at that address, and its own comment says this races the other tests running at the same time. When another test takes the address in between, the map fails.The test now retries at a fresh reservation, up to 8 times, before it fails. macOS maps over the reservation itself, so nothing changes there. Test code only.
How it was tested
cargo test -p victory-platform --test conformanceon macOS (12 passed)cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings, also with--all-features(the Windows branch compiles)cargo xtask policyChecklist
@LakshanSivakumar on GitHub · 2026-11-26 16:37 UTC · original · approved these changes
Checked the diff: the retry loop only re-reserves on a failed map and fails loudly after 8 tries. Merged onto main, victory-platform passes native and x86_64, clippy and policy are clean, CI is green.