Skip to content

Commit 9d74204

Browse files
committed
FIXUP: Lower the timeout
1 parent 3c0b017 commit 9d74204

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from .conftest import TEST_DOCS_DIRECTORY, for_each_doc
1515

16-
TIMEOUT = 180 # 3 minutes
16+
TIMEOUT = 30
1717
MAX_STREAM_SIZE = 2 * 1024 * 1024 * 1024 # 2 GiB
1818

1919
REFERENCE_DIR = Path(__file__).parent / "test_docs" / "reference"

tests/test_large_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
SAFE_EXTENSION = "-safe.pdf"
2626
FORMATS_REGEX = r".*\.(pdf|docx|doc|xlsx|xls|pptx|ppt|odt|ods|odp|odg|jpg|jpeg|gif|png)$"
2727

28-
TIMEOUT = 300 # 5 minutes per document
28+
TIMEOUT = 60 # 1 minute per document
2929

3030

3131
def get_test_docs(min_size: int, max_size: int) -> List[Path]:

0 commit comments

Comments
 (0)