Bug 1523562 [wpt PR 14898] - Fix #14894: Disable Python hypothesis deadlines on CI, a=testonly

Automatic update from web-platform-tests
Fix #14894: Disable Python hypothesis deadlines on CI (#14898)

This is causing flakiness on Travis, presumably due to the VM being
pre-empted.
--

wpt-commits: 537d6a95a92f065d02b2606801c986e6e168f745
wpt-pr: 14898
This commit is contained in:
Geoffrey Sneddon 2019-01-31 18:56:34 +00:00 коммит произвёл James Graham
Родитель 9aeb5f59ae
Коммит 4946fbeb64
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -6,8 +6,10 @@ from hypothesis import settings, HealthCheck
impl = platform.python_implementation()
settings.register_profile("ci", settings(max_examples=1000,
deadline=None,
suppress_health_check=[HealthCheck.too_slow]))
settings.register_profile("pypy", settings(suppress_health_check=[HealthCheck.too_slow]))
settings.register_profile("pypy", settings(deadline=None,
suppress_health_check=[HealthCheck.too_slow]))
settings.load_profile(os.getenv("HYPOTHESIS_PROFILE",
"default" if impl != "PyPy" else "pypy"))