Skip to content

pytest: skip the cancel race tests' race asserts under ASan - #56

Merged
kwsantiago merged 1 commit into
blake2b-unifiedfrom
cancel-race-asan-asserts
Oct 19, 2026
Merged

kwsantiago merged 1 commit into
blake2b-unifiedfrom
cancel-race-asan-asserts

Conversation

@kwsantiago

Copy link
Copy Markdown

Under ASan, test_funding_cancel_race and test_funding_v2_cancel_race now run 5 iterations instead of 20 (#55). With so few, a race isn't guaranteed, so their "raced at least once" asserts are skipped under ASan, as they already are under valgrind for the same reason. The asserts still run in every other configuration.

Under the ASan build, each test passed 3 of 3 runs; on the normal build both pass with the asserts active.

Changelog-None

@kwsantiago
kwsantiago merged commit 9311302 into blake2b-unified Oct 19, 2026
89 of 91 checks passed
@kwsantiago
kwsantiago deleted the cancel-race-asan-asserts branch October 19, 2026 07:18
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