https://forge.softwareheritage.org/source/swh-scheduler.git
Revision 93585727b8e0d2afe8c428bec899a6023ad9161d authored by Antoine R. Dumont (@ardumont) on 15 November 2019, 15:02:12 UTC, committed by Antoine R. Dumont (@ardumont) on 19 November 2019, 11:11:33 UTC
This allos registering of worker's task types to the scheduler through
setuptools' mechanism.
1 parent 8ec34fe
Raw File
Tip revision: 93585727b8e0d2afe8c428bec899a6023ad9161d authored by Antoine R. Dumont (@ardumont) on 15 November 2019, 15:02:12 UTC
swh.scheduler.cli: Add `swh scheduler task-type register` cli
Tip revision: 9358572
conftest.py
from hypothesis import settings

# define tests profile. Full documentation is at:
# 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)
back to top