16.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 12f237af authored by eckhart's avatar eckhart
Browse files

Merge branch 'master' of gitlab.lrz.de:badw-it/DHParser

parents e0f31f30 8c16e008
......@@ -290,7 +290,7 @@ class TestSelfHosting:
return errors
def test_multiprocessing(self):
with Pool(processes=2) as pool:
with Pool() as pool:
res = [pool.apply_async(self.multiprocessing_task, ()) for i in range(4)]
errors = [r.get(timeout=10) for r in res]
for i, e in enumerate(errors):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment