From 1b11c3e9234b1c269f5e009ce45e520ace1baa82 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 16 Nov 2023 22:08:41 +0530 Subject: [PATCH] Double timeouts on flaky test --- 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 345f5aced..a36b3fb5a 100644 --- a/kitty_tests/ssh.py +++ b/kitty_tests/ssh.py @@ -250,13 +250,13 @@ env COLORTERM 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, timeout=30) + pty.wait_till(check_untar_or_fail, timeout=60) 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, timeout=30) + pty.wait_till(lambda: len(pty.screen_contents().splitlines()) > 1, timeout=60) self.assertEqual(pty.screen.cursor.shape, 0) else: - pty.wait_till(lambda: pty.screen.cursor.shape == CURSOR_BEAM, timeout=30) + pty.wait_till(lambda: pty.screen.cursor.shape == CURSOR_BEAM, timeout=60) return pty finally: with suppress(FileNotFoundError):