craigahobbs / unittest-parallel

Parallel unit test runner for Python with coverage support
MIT License
29 stars 5 forks source link

Some frameworks deadlock when executed with unittest-parallel #11

Closed stewartmiles closed 2 years ago

stewartmiles commented 2 years ago

unittest-parallel is currently using the default process spawning behavior of the multiprocessing module (i.e fork on Linux) which can lead to subprocesses hanging. For a detailed explanation see https://britishgeologicalsurvey.github.io/science/python-forking-vs-spawn/

craigahobbs commented 2 years ago

Published unittest-parallel 1.5.0

https://pypi.org/project/unittest-parallel/1.5.0/

stewartmiles commented 2 years ago

Woo thanks @craigahobbs !