aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-09 16:25:45 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-09 16:25:45 +0200
commitc56022c70482ac0f2a0d57a14f9d5d8408083ca8 (patch)
tree4d32653e483ff7798a06f305341158948c11dcaf /test/py
parenttest: fix sqlite3.connect usage (diff)
downloadcimple-c56022c70482ac0f2a0d57a14f9d5d8408083ca8.tar.gz
cimple-c56022c70482ac0f2a0d57a14f9d5d8408083ca8.zip
test: don't wait for hanging processes
Diffstat (limited to '')
-rw-r--r--test/py/test_repo.py4
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()