tests: Ignore test_restart hang on Windows

This commit is contained in:
Florian Bruhin 2025-06-05 15:09:57 +02:00
parent 2e343403de
commit c1e7b6e8f3
1 changed files with 10 additions and 8 deletions

View File

@ -1039,6 +1039,8 @@ def test_restart(request, quteproc_new):
pid = int(line.message.removeprefix(prefix))
os.kill(pid, signal.SIGTERM)
# This often hangs on Windows for unknown reasons
if not utils.is_windows:
try:
# If the new process hangs, this will hang too.
# Still better than just ignoring it, so we can fix it if something is broken.