From 24b12698aa3e25cfd9730ac25c5a1c8528a35f82 Mon Sep 17 00:00:00 2001 From: "mulin.lyh" Date: Thu, 24 Nov 2022 16:05:36 +0800 Subject: [PATCH] [to #46342279]fix: fix some time test_skin_retouching.py failed Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10851834 * [to #46342279]fix: fix some time test_skin_retouching.py failed --- tests/run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/run.py b/tests/run.py index dfc76fda..1b252756 100644 --- a/tests/run.py +++ b/tests/run.py @@ -297,6 +297,7 @@ def parallel_run_case_in_env(env_name, env, test_suite_env_map, isolated_cases, if k not in isolated_cases and v == env_name: remain_suite_files.append(k) if len(remain_suite_files) == 0: + wait_for_workers(worker_processes) return # roughly split case in parallel part_count = math.ceil(len(remain_suite_files) / parallel)