From 854e13ae9290e2bc1013043bf0dbd83840f3b345 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 17 Jan 2017 20:23:35 -0500 Subject: Use @flaky to prevent occasional multiprocessing failures --- tests/test_concurrency.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_concurrency.py') diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index a7dac06..f2aa797 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -5,6 +5,8 @@ import threading +from flaky import flaky + import coverage from coverage import env from coverage.files import abs_file @@ -349,6 +351,7 @@ MULTI_CODE = """ """ +@flaky # Sometimes a test fails due to inherent randomness. Try one more time. class MultiprocessingTest(CoverageTest): """Test support of the multiprocessing module.""" -- cgit v1.2.1