From 17f4781f5bc7c1aa73d8d754f85f481f7bcea034 Mon Sep 17 00:00:00 2001 From: Olivier Ramonat Date: Mon, 21 Oct 2024 13:10:12 +0200 Subject: [PATCH] Make wait_for_processes test more reliable This test is often failing on GitLab, increase the timeout from 2 seconds to 4 seconds to see whether this helps. --- tests/tests_e3/os/process/main_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests_e3/os/process/main_test.py b/tests/tests_e3/os/process/main_test.py index 75eb9eb4..71a9bc84 100644 --- a/tests/tests_e3/os/process/main_test.py +++ b/tests/tests_e3/os/process/main_test.py @@ -300,10 +300,10 @@ def test_wait_for_processes(): bg=True, ) for _ in range(2): - result = e3.os.process.wait_for_processes(process_list, 2) + result = e3.os.process.wait_for_processes(process_list, 4) if result is not None: del process_list[result] - assert len(process_list) == 0 + assert len(process_list) == 0, [p.__dict__ for p in process_list] assert p1.status == 0 assert p1.out.strip() == "process1"