diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 16:25:45 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 16:25:45 +0200 |
commit | c56022c70482ac0f2a0d57a14f9d5d8408083ca8 (patch) | |
tree | 4d32653e483ff7798a06f305341158948c11dcaf /test | |
parent | test: fix sqlite3.connect usage (diff) | |
download | cimple-c56022c70482ac0f2a0d57a14f9d5d8408083ca8.tar.gz cimple-c56022c70482ac0f2a0d57a14f9d5d8408083ca8.zip |
test: don't wait for hanging processes
Diffstat (limited to '')
-rw-r--r-- | test/py/test_repo.py | 4 |
1 files changed, 3 insertions, 1 deletions
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() |