From 724f2606727e5430d20898a0405672ffb1d7c47a Mon Sep 17 00:00:00 2001 From: Marten Chaillet <58044494+McHaillet@users.noreply.github.com> Date: Tue, 7 May 2024 18:44:46 +0200 Subject: [PATCH] wait 2 instead of 1 --- tests/test00_parallel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test00_parallel.py b/tests/test00_parallel.py index 340838fe..42d15318 100644 --- a/tests/test00_parallel.py +++ b/tests/test00_parallel.py @@ -76,7 +76,7 @@ def test_parallel_breaking(self): _ = run_job_parallel(self.job, volume_splits=(1, 2, 1), gpu_ids=[0, -1], unittest_mute=True) except RuntimeError: # sleep a second to make sure all children are cleaned - time.sleep(1) + time.sleep(2) self.assertEqual(len(multiprocessing.active_children()), 0, msg='a process was still lingering after a parallel job with partially invalid resources ' 'was started')