mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
Increase test deadline to 30 minutes to prevent spurious test failures (#11070)
* Increase test deadline to 30 minutes to prevent spurious test failures * Reduce deadline to 2 minutes
This commit is contained in:
parent
5240baccfe
commit
d36d66b7ca
|
@ -1,6 +1,11 @@
|
|||
import pytest
|
||||
from spacy.util import get_lang_class
|
||||
from hypothesis import settings
|
||||
|
||||
# Functionally disable deadline settings for tests
|
||||
# to prevent spurious test failures in CI builds.
|
||||
settings.register_profile("no_deadlines", deadline=2*60*1000) # in ms
|
||||
settings.load_profile("no_deadlines")
|
||||
|
||||
def pytest_addoption(parser):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user