From e35c9aba6d706a7247ce7805b51b3b235dc0c47c Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 12 Jan 2026 12:41:41 -0800 Subject: [PATCH] I'm not sure why this seems flaky in CI, just try to re-run --- src/documents/tests/test_management_consumer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/documents/tests/test_management_consumer.py b/src/documents/tests/test_management_consumer.py index 6d82078d3..8e7f97fa4 100644 --- a/src/documents/tests/test_management_consumer.py +++ b/src/documents/tests/test_management_consumer.py @@ -830,6 +830,7 @@ class TestCommandWatchPolling: """Tests for polling mode.""" @pytest.mark.django_db + @pytest.mark.flaky(reruns=5) def test_polling_mode_works( self, consumption_dir: Path, @@ -846,7 +847,7 @@ class TestCommandWatchPolling: # Wait for: poll interval + stability delay + another poll + margin # CI can be slow, so use generous timeout - sleep(2.0) + sleep(3.0) if thread.exception: raise thread.exception