Skip to content

Commit

Permalink
wait 2 instead of 1
Browse files Browse the repository at this point in the history
  • Loading branch information
McHaillet authored May 7, 2024
1 parent 6f11003 commit 724f260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test00_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 724f260

Please sign in to comment.