mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Call busy_retry() and sleeping_retry() with error=True (#93871)
Tests no longer call busy_retry() and sleeping_retry() with error=False: raise an exception if the loop times out.
This commit is contained in:
parent
05b32c1c79
commit
484b40bf18
6 changed files with 9 additions and 18 deletions
|
@ -21,7 +21,7 @@ class Wait4Test(ForkWait):
|
|||
# Issue #11185: wait4 is broken on AIX and will always return 0
|
||||
# with WNOHANG.
|
||||
option = 0
|
||||
for _ in support.sleeping_retry(support.SHORT_TIMEOUT, error=False):
|
||||
for _ in support.sleeping_retry(support.SHORT_TIMEOUT):
|
||||
# wait4() shouldn't hang, but some of the buildbots seem to hang
|
||||
# in the forking tests. This is an attempt to fix the problem.
|
||||
spid, status, rusage = os.wait4(cpid, option)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue