Commit f25a8de8 authored by Antoine Pitrou's avatar Antoine Pitrou

Issue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition.

parent ee429340
...@@ -757,6 +757,12 @@ class _TestCondition(BaseTestCase): ...@@ -757,6 +757,12 @@ class _TestCondition(BaseTestCase):
cond.release() cond.release()
# check they have all woken # check they have all woken
for i in range(10):
try:
if get_value(woken) == 6:
break
except NotImplementedError:
break
time.sleep(DELTA) time.sleep(DELTA)
self.assertReturnsIfImplemented(6, get_value, woken) self.assertReturnsIfImplemented(6, get_value, woken)
......
...@@ -269,6 +269,8 @@ Extensions ...@@ -269,6 +269,8 @@ Extensions
Tests Tests
----- -----
- Issue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition.
- Fix possible "file already exists" error when running the tests in parallel. - Fix possible "file already exists" error when running the tests in parallel.
- Issue #11719: Fix message about unexpected test_msilib skip on non-Windows - Issue #11719: Fix message about unexpected test_msilib skip on non-Windows
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment