Browse Source

[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
master^2
mulin.lyh 3 years ago
parent
commit
24b12698aa
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tests/run.py

+ 1
- 0
tests/run.py View File

@@ -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)


Loading…
Cancel
Save