mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-14 21:54:22 -06:00
I'm not sure why this seems flaky in CI, just try to re-run
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user