зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
c758bbabfa
Коммит
28c0c32737
|
@ -6,8 +6,10 @@ from hypothesis import settings, HealthCheck
|
||||||
impl = platform.python_implementation()
|
impl = platform.python_implementation()
|
||||||
|
|
||||||
settings.register_profile("ci", settings(max_examples=1000,
|
settings.register_profile("ci", settings(max_examples=1000,
|
||||||
|
deadline=None,
|
||||||
suppress_health_check=[HealthCheck.too_slow]))
|
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",
|
settings.load_profile(os.getenv("HYPOTHESIS_PROFILE",
|
||||||
"default" if impl != "PyPy" else "pypy"))
|
"default" if impl != "PyPy" else "pypy"))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче