CI is even slower than I thought

This commit is contained in:
Kovid Goyal
2023-08-04 07:36:36 +05:30
parent 335d2616e7
commit 395e47cc9e

View File

@@ -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=20 if BaseTest.is_ci else 10, require_exit_code=None):
def wait_till_child_exits(self, timeout=30 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)