From e0b4c7edc5e102684f17aa675687f7bb26887c5f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 30 Oct 2022 11:09:36 +0530 Subject: [PATCH] Increase the timeout for shell integration tests Needed for ARM running non-natively --- kitty_tests/ssh.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kitty_tests/ssh.py b/kitty_tests/ssh.py index d01c787d5..81dac0392 100644 --- a/kitty_tests/ssh.py +++ b/kitty_tests/ssh.py @@ -275,13 +275,13 @@ copy --exclude */w.* d1 if 'bzip2' in q: raise ValueError('Untarring failed with screen contents:\n' + q) return 'UNTAR_DONE' in q - pty.wait_till(check_untar_or_fail) + pty.wait_till(check_untar_or_fail, timeout=30) self.assertTrue(os.path.exists(os.path.join(home_dir, '.terminfo/kitty.terminfo'))) if SHELL_INTEGRATION_VALUE != 'enabled': - pty.wait_till(lambda: len(pty.screen_contents().splitlines()) > 1) + pty.wait_till(lambda: len(pty.screen_contents().splitlines()) > 1, timeout=30) self.assertEqual(pty.screen.cursor.shape, 0) else: - pty.wait_till(lambda: pty.screen.cursor.shape == CURSOR_BEAM) + pty.wait_till(lambda: pty.screen.cursor.shape == CURSOR_BEAM, timeout=30) return pty finally: with suppress(FileNotFoundError):