dangerzone/tests
deeplow 69c2a02d81
Remove timeouts
Remove timeouts due to several reasons:

1. Lost purpose: after implementing the containers page streaming the
   only subprocess we have left is LibreOffice. So don't have such a
   big risk of commands hanging (the original reason for timeouts).

2. Little benefit: predicting execution time is generically unsolvable
   computer science problem. Ultimately we were guessing an arbitrary
   time based on the number of pages and the document size. As a guess
   we made it pretty lax (30s per page or MB). A document hanging for
   this long will probably lead to user frustration in any case and the
   user may be compelled to abort the conversion.

3. Technical Challenges with non-blocking timeout: there have been
several technical challenges in keeping timeouts that we've made effort
to accommodate. A significant one was having to do non-blocking read to
ensure we could timeout when reading conversion stream (and then used
here)

Fixes #687
2024-02-06 20:11:43 +00:00
..
gui Use more descriptive button labels in update check prompt 2023-10-31 12:52:34 +00:00
isolation_provider Remove timeouts 2024-02-06 20:11:43 +00:00
test_docs Adds file formats: epub svg bmp pnm bpm ppm 2024-01-31 19:58:48 +00:00
test_docs_compressed Add page limit of 10000 2023-09-28 11:01:14 +01:00
test_docs_external Add test files for hwp/hwpx (base64 encoded) 2023-08-01 14:37:14 +01:00
test_docs_large@0068ffcb67 Replace armor guards that indicate isolated output 2023-08-22 16:11:41 +01:00
__init__.py Add limit and test to max width and height of docs 2023-09-28 11:08:47 +01:00
conftest.py tests: Test our own custom QApplication 2023-07-28 12:18:58 +03:00
test_cli.py Stream pages in containers: merge isolation providers 2024-02-06 19:42:33 +00:00
test_document.py remove number from test_doc2 variable 2023-07-25 15:00:31 +01:00
test_large_set.py Adapt code so it works for reporting script 2023-08-22 16:11:36 +01:00
test_ocr.py Remove timeouts 2024-02-06 20:11:43 +00:00
test_util.py Revert "Add non-blocking read utility" 2024-02-06 19:42:41 +00:00