Skip to content

Commit

Permalink
test: the sigterm tests have some race conditions, let them re-run if…
Browse files Browse the repository at this point in the history
… needed
  • Loading branch information
nedbat committed Jan 23, 2022
1 parent dd575ee commit d10d9ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ def random_load(): # pragma: nested


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

Expand Down

0 comments on commit d10d9ee

Please sign in to comment.