-
Notifications
You must be signed in to change notification settings - Fork 60
pytest-parallel exit code always 0 #12
Comments
Interesting. I wonder if this also happens when using |
I tested, and this issue doesn't occur if you set --workers 1 |
I suspect there is a diff between running process_with_threads directly and wrapping that in a process |
There must be something else in the reporting that's missing. |
But the exit code isn't the same thing as the number of failures right? So would the above test catch that? |
It's not the same, but it means there's a disconnect between how pytest does its reporting and how it decides to exit the process. |
That test needs |
The multiprocessing portion of this library works by monkeypatching values on pytest classes using the |
Thanks for reporting this! It should be resolved in |
Haha excellent! I just came here to report that session.testsfailed was probably the issue. Thank you for fixing this so quickly 👏 |
Unsure if the issue is specific to me, added the info below to reproduce.
tst.py =
The text was updated successfully, but these errors were encountered: