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

Fix test_multi_index_two_way_query FailedHealthCheck #2160

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

kounelisagis
Copy link
Member

@kounelisagis kounelisagis commented Feb 13, 2025

The test TestMultiIndexPropertySparse.test_multi_index_two_way_query has been frequently failing due to hypothesis.errors.FailedHealthCheck, with error messages such as:

It looks like your strategy is filtering out a lot of data. The health check found 50 filtered examples but only 9 valid ones.

This PR changes ranges strategy to prevent Hypothesis health check failures caused by excessive test case filtering while still ensuring coverage of all valid ranges.

@ihnorton ihnorton merged commit 486ace1 into main Feb 14, 2025
43 checks passed
@ihnorton ihnorton deleted the agis/fix-test_multi_index_two_way_query branch February 14, 2025 20:04
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