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

This commit is contained in:
Trenton H authored and GitHub committed 2026-01-28 03:57:12 +00:00
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