Increase some more timeouts

This commit is contained in:
Kovid Goyal 2022-11-03 13:13:14 +05:30
parent dea3df66f8
commit 9d471782dd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ def test_spawn() -> None:
q = ctx.Queue()
p = ctx.Process(target=q.put, args=('hello',))
p.start()
x = q.get(timeout=2)
x = q.get(timeout=8)
assert x == 'hello'
p.join()
finally:

View File

@ -140,7 +140,7 @@ def run():
# macOS does not send SIGCHLD when child is continued
# https://stackoverflow.com/questions/48487935/sigchld-is-sent-on-sigcont-on-linux-but-not-on-macos
p.stdin.close()
p.wait(1)
p.wait(3)
for fd, event in poll.poll(0):
read_signals(signal_read_fd, lambda si: None)
finally: