From a74e93d241df451c20a9f8223dee5abee07f0a5a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 26 Jul 2023 19:22:59 +0530 Subject: [PATCH] Increase timeout for child exit on CI --- kitty_tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty_tests/__init__.py b/kitty_tests/__init__.py index f0df53096..3a9a58a9a 100644 --- a/kitty_tests/__init__.py +++ b/kitty_tests/__init__.py @@ -304,7 +304,7 @@ class PTY: if not q(): raise TimeoutError(f'The condition was not met. Screen contents: \n {repr(self.screen_contents())}') - def wait_till_child_exits(self, timeout=10, require_exit_code=None): + def wait_till_child_exits(self, timeout=20 if BaseTest.is_ci else 10, require_exit_code=None): end_time = time.monotonic() + timeout while time.monotonic() <= end_time: si_pid, status = os.waitpid(self.child_pid, os.WNOHANG)