File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 14
14
hypothesis .settings .register_profile (
15
15
"ci" ,
16
16
# Hypothesis timing checks are tuned for scalars by default, so we bump
17
- # them from 200ms to 5 secs per test case as the global default. If this
17
+ # them from 200ms to 500ms per test case as the global default. If this
18
18
# is too short for a specific test, (a) try to make it faster, and (b)
19
- # if it really is slow add `@settings(timeout=...)` with a working value.
20
- timeout = 5000 ,
19
+ # if it really is slow add `@settings(deadline=...)` with a working value,
20
+ # or `deadline=None` to entirely disable timeouts for that test.
21
+ deadline = 500 ,
22
+ timeout = hypothesis .unlimited ,
21
23
suppress_health_check = (hypothesis .HealthCheck .too_slow ,)
22
24
)
23
25
hypothesis .settings .load_profile ("ci" )
You can’t perform that action at this time.
0 commit comments