Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9125200
D3925.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
737 B
Subscribers
None
D3925.diff
View Options
diff --git a/swh/storage/tests/conftest.py b/swh/storage/tests/conftest.py
--- a/swh/storage/tests/conftest.py
+++ b/swh/storage/tests/conftest.py
@@ -23,7 +23,10 @@
# https://hypothesis.readthedocs.io/en/latest/settings.html#settings-profiles
settings.register_profile("fast", max_examples=5, deadline=5000)
settings.register_profile("slow", max_examples=20, deadline=5000)
-
+# Load the fast profile by default to overcome default hypothesis values
+# (max_examples=100, deadline=200) that are unsuitable for our tests.
+# This can still be overloaded via the --hypothesis-profile option.
+settings.load_profile("fast")
if pytest_cov is not None:
# pytest_cov + multiprocessing can cause a segmentation fault when starting
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 20, 8:14 PM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217506
Attached To
D3925: Load the "fast" hypothesis profile by default
Event Timeline
Log In to Comment