Skip to content

Commit

Permalink
ci: disable hypothesis too-slow healthcheck
Browse files Browse the repository at this point in the history
This seems to make tests flaky in some cases, in particular the macos
nix builds. We only test macos on nix, so that's likely why we don't see
it in the non-nix builds.
  • Loading branch information
cpcloud committed Dec 25, 2022
1 parent d757069 commit 94152a3
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions ibis/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@
import hypothesis as h

# setup hypothesis profiles
h.settings.register_profile('ci', max_examples=1000)
h.settings.register_profile('dev', max_examples=50)
h.settings.register_profile('debug', max_examples=10, verbosity=h.Verbosity.verbose)
h.settings.register_profile(
'ci', max_examples=1000, suppress_health_check=[h.HealthCheck.too_slow]
)
h.settings.register_profile(
'dev', max_examples=50, suppress_health_check=[h.HealthCheck.too_slow]
)
h.settings.register_profile(
'debug',
max_examples=10,
verbosity=h.Verbosity.verbose,
suppress_health_check=[h.HealthCheck.too_slow],
)

# load default hypothesis profile, either set HYPOTHESIS_PROFILE environment
# variable or pass --hypothesis-profile option to pytest, to see the generated
Expand Down

0 comments on commit 94152a3

Please sign in to comment.