I'm not sure why this seems flaky in CI, just try to re-run

This commit is contained in:
Trenton H
2026-01-12 12:41:41 -08:00
parent 486c899396
commit f4ea33f39c

View File

@@ -830,6 +830,7 @@ class TestCommandWatchPolling:
"""Tests for polling mode.""" """Tests for polling mode."""
@pytest.mark.django_db @pytest.mark.django_db
@pytest.mark.flaky(reruns=5)
def test_polling_mode_works( def test_polling_mode_works(
self, self,
consumption_dir: Path, consumption_dir: Path,
@@ -846,7 +847,7 @@ class TestCommandWatchPolling:
# Wait for: poll interval + stability delay + another poll + margin # Wait for: poll interval + stability delay + another poll + margin
# CI can be slow, so use generous timeout # CI can be slow, so use generous timeout
sleep(2.0) sleep(3.0)
if thread.exception: if thread.exception:
raise thread.exception raise thread.exception