From c56022c70482ac0f2a0d57a14f9d5d8408083ca8 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 9 Jul 2023 16:25:45 +0200 Subject: test: don't wait for hanging processes --- test/py/test_repo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/py/test_repo.py b/test/py/test_repo.py index a981169..dfd7fc4 100644 --- a/test/py/test_repo.py +++ b/test/py/test_repo.py @@ -41,10 +41,12 @@ def _test_repo_internal(env, repo, numof_processes, runs_per_process): processes = [Process(target=client_runner) for i in range(numof_processes)] for proc in processes: proc.start() + + event.wait() + for proc in processes: proc.join() - event.wait() assert numof_runs == repo.count_ci_output_files() runs = env.db.get_all_runs() -- cgit v1.2.3