From 9d471782dd58c83dea16727c0286d3b9a01a2980 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 3 Nov 2022 13:13:14 +0530 Subject: [PATCH] Increase some more timeouts --- kitty/multiprocessing.py | 2 +- kitty_tests/prewarm.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/multiprocessing.py b/kitty/multiprocessing.py index c56cbc0a0..292689e9c 100644 --- a/kitty/multiprocessing.py +++ b/kitty/multiprocessing.py @@ -81,7 +81,7 @@ def test_spawn() -> None: q = ctx.Queue() p = ctx.Process(target=q.put, args=('hello',)) p.start() - x = q.get(timeout=2) + x = q.get(timeout=8) assert x == 'hello' p.join() finally: diff --git a/kitty_tests/prewarm.py b/kitty_tests/prewarm.py index eb9889171..fb9f2b961 100644 --- a/kitty_tests/prewarm.py +++ b/kitty_tests/prewarm.py @@ -140,7 +140,7 @@ import os, json; from kitty.utils import *; from kitty.fast_data_types import ge # macOS does not send SIGCHLD when child is continued # https://stackoverflow.com/questions/48487935/sigchld-is-sent-on-sigcont-on-linux-but-not-on-macos p.stdin.close() - p.wait(1) + p.wait(3) for fd, event in poll.poll(0): read_signals(signal_read_fd, lambda si: None) finally: