mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-20 11:07:38 +03:00
Increase some more timeouts
This commit is contained in:
parent
dea3df66f8
commit
9d471782dd
@ -81,7 +81,7 @@ def test_spawn() -> None:
|
|||||||
q = ctx.Queue()
|
q = ctx.Queue()
|
||||||
p = ctx.Process(target=q.put, args=('hello',))
|
p = ctx.Process(target=q.put, args=('hello',))
|
||||||
p.start()
|
p.start()
|
||||||
x = q.get(timeout=2)
|
x = q.get(timeout=8)
|
||||||
assert x == 'hello'
|
assert x == 'hello'
|
||||||
p.join()
|
p.join()
|
||||||
finally:
|
finally:
|
||||||
|
@ -140,7 +140,7 @@ def run():
|
|||||||
# macOS does not send SIGCHLD when child is continued
|
# 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
|
# https://stackoverflow.com/questions/48487935/sigchld-is-sent-on-sigcont-on-linux-but-not-on-macos
|
||||||
p.stdin.close()
|
p.stdin.close()
|
||||||
p.wait(1)
|
p.wait(3)
|
||||||
for fd, event in poll.poll(0):
|
for fd, event in poll.poll(0):
|
||||||
read_signals(signal_read_fd, lambda si: None)
|
read_signals(signal_read_fd, lambda si: None)
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user