Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prop_assume!(a != b) in some tests to fix spurious failures #2199

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

gefjon
Copy link
Contributor

@gefjon gefjon commented Feb 3, 2025

Description of Changes

A rare-ish edge case in a few of our proptests caused spurious failures when the runner generated two equal row pointers. The test was intended to verify behavior with non-equal pointers, and so was not equipped to handle this case. A simple prop_assume! call tells the runner to ignore that case.

API and ABI breaking changes

N/a

Expected complexity level and risk

1

Testing

  • Added proptest regression that exercises this case.

@gefjon gefjon requested a review from Centril February 3, 2025 15:09
@gefjon gefjon enabled auto-merge February 3, 2025 15:12
@gefjon gefjon added this pull request to the merge queue Feb 3, 2025
Merged via the queue into master with commit ad49494 Feb 3, 2025
14 checks passed
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.

2 participants