mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-18 13:58:12 +00:00
Chore: Use a local http server instead of external to reduce flakiness (#11916)
This commit is contained in:
1 parent
56b5d838d7
commit
01b21377af
9 files changed
+145
-53
No files matched your search
@@ -816,7 +816,7 @@ class TestCommandWatch:
|
||||
f.flush()
|
||||
sleep(0.05)
|
||||
|
||||
sleep(0.5)
|
||||
sleep(0.8)
|
||||
|
||||
if thread.exception:
|
||||
raise thread.exception
|
||||
@@ -837,7 +837,7 @@ class TestCommandWatch:
|
||||
(consumption_dir / "._document.pdf").write_bytes(b"test")
|
||||
shutil.copy(sample_pdf, consumption_dir / "valid.pdf")
|
||||
|
||||
sleep(0.5)
|
||||
sleep(0.8)
|
||||
|
||||
if thread.exception:
|
||||
raise thread.exception
|
||||
|
||||
Reference in new issue
Block a user