Chore: Use a local http server instead of external to reduce flakiness (#11916)

This commit is contained in:
Trenton H
2026-01-27 19:57:12 -08:00
committed by GitHub
parent 56b5d838d7
commit 01b21377af
9 changed files with 145 additions and 53 deletions

View File

@@ -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