Use a larger timeout when running prewarm test
This commit is contained in:
parent
3847837bd0
commit
a8ab4eaf23
@ -38,7 +38,7 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
|
|
||||||
error_events = select.POLLERR | select.POLLNVAL | select.POLLHUP
|
error_events = select.POLLERR | select.POLLNVAL | select.POLLHUP
|
||||||
TIMEOUT = 15.0 if os.environ.get('CI') == 'true' else 5.0
|
TIMEOUT = 5.0
|
||||||
|
|
||||||
|
|
||||||
def restore_python_signal_handlers() -> None:
|
def restore_python_signal_handlers() -> None:
|
||||||
|
|||||||
@ -50,7 +50,7 @@ import os, json; from kitty.utils import *; from kitty.fast_data_types import ge
|
|||||||
'pid': os.getpid(),
|
'pid': os.getpid(),
|
||||||
'font_family': get_options().font_family,
|
'font_family': get_options().font_family,
|
||||||
'stdin': sys.stdin.read(),
|
'stdin': sys.stdin.read(),
|
||||||
}, indent=2), "ALL_OUTPUT_PRESENT", sep="")"""], cwd=cwd, env=env, stdin_data=stdin_data)
|
}, indent=2), "ALL_OUTPUT_PRESENT", sep="")"""], cwd=cwd, env=env, stdin_data=stdin_data, timeout=15.0)
|
||||||
self.assertFalse(pty.screen_contents().strip())
|
self.assertFalse(pty.screen_contents().strip())
|
||||||
p.mark_child_as_ready(child.child_id)
|
p.mark_child_as_ready(child.child_id)
|
||||||
pty.wait_till(lambda: 'ALL_OUTPUT_PRESENT' in pty.screen_contents())
|
pty.wait_till(lambda: 'ALL_OUTPUT_PRESENT' in pty.screen_contents())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user