Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
test_self_ref_regression is failing randomly with FailedHealthCheck for
too slow and filtering too much. We now suppress these health checks for
this test.
  • Loading branch information
h4l authored and Zac-HD committed Oct 15, 2023
1 parent 9606972 commit a6db02f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hypothesis-python/tests/nocover/test_recursive.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def test(data):
)


@settings(suppress_health_check=[HealthCheck.too_slow, HealthCheck.filter_too_much])
@given(SELF_REF)
def test_self_ref_regression(_):
# See https://github.com/HypothesisWorks/hypothesis/issues/2794
Expand Down

0 comments on commit a6db02f

Please sign in to comment.