Skip to content

Commit d10d9ee

Browse files
committed
test: the sigterm tests have some race conditions, let them re-run if needed
1 parent dd575ee commit d10d9ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_concurrency.py

+1
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ def random_load(): # pragma: nested
696696

697697

698698
@pytest.mark.skipif(env.WINDOWS, reason="SIGTERM doesn't work the same on Windows")
699+
@flaky(max_runs=3) # Sometimes a test fails due to inherent randomness. Try more times.
699700
class SigtermTest(CoverageTest):
700701
"""Tests of our handling of SIGTERM."""
701702

0 commit comments

Comments
 (0)