mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 11:39:57 +03:00
increase timeout since signal delivery on CI is flakey
This commit is contained in:
parent
1c0d1ec8a9
commit
762dfe8315
@ -92,7 +92,7 @@ def wait_for_death(exit_code):
|
||||
pty.set_window_size(columns=cols + 3)
|
||||
pty.wait_till(lambda: f'Screen size changed: {cols + 3}' in pty.screen_contents())
|
||||
pty.write_to_child('\x03')
|
||||
pty.wait_till(lambda: 'KeyboardInterrupt' in pty.screen_contents())
|
||||
pty.wait_till(lambda: 'KeyboardInterrupt' in pty.screen_contents(), timeout=30)
|
||||
wait_for_death(signal.SIGINT)
|
||||
|
||||
# test passing of data via cwd, env vars and stdin/stdout redirection
|
||||
@ -182,7 +182,7 @@ def assert_signal():
|
||||
nonlocal found_signal
|
||||
found_signal = False
|
||||
st = time.monotonic()
|
||||
while time.monotonic() - st < 5:
|
||||
while time.monotonic() - st < 30:
|
||||
for (fd, event) in poll.poll(10):
|
||||
if fd == signal_read_fd:
|
||||
signals = []
|
||||
|
Loading…
Reference in New Issue
Block a user