diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-23 14:45:09 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-23 14:45:09 -0500 |
commit | d10d9ee20ff2e4603f647e9c3326a6ed13145a35 (patch) | |
tree | 86cb70a486fd9142755b46d7357f06bbff391b25 /tests/test_concurrency.py | |
parent | dd575eec0fa173bcb6c680d2f1c822a28280d011 (diff) | |
download | python-coveragepy-git-d10d9ee20ff2e4603f647e9c3326a6ed13145a35.tar.gz |
test: the sigterm tests have some race conditions, let them re-run if needed
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r-- | tests/test_concurrency.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 14dfc5ca..bfdf13d4 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -696,6 +696,7 @@ def test_thread_safe_save_data(tmpdir): @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.""" |