Skip to content

Commit

Permalink
Turn off deadlines in hypothesis.
Browse files Browse the repository at this point in the history
Fixes misleading failures on Travis where some of the hypothesis tests
take a very long time.
  • Loading branch information
jeromekelleher committed Jan 22, 2019
1 parent 6e1a48e commit c0f304b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/tests/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

import kastore as kas

# Set the deadline to None to avoid weird behaviour on CI.
hypothesis.settings.register_profile("kastore_defaults", deadline=None)
hypothesis.settings.load_profile("kastore_defaults")

# Exclude any 'other' unicode categories:
# http://www.unicode.org/reports/tr44/#General_Category_Values
Expand Down

0 comments on commit c0f304b

Please sign in to comment.