You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a usecases where if worker crashes i want to collect some info and dump in log file, so that i can debug.
i tried to search the doc of pytest-xdist and some google but couldn't find anything.
Do we have any hooks that can be called from conftest to dump after the worker crashes?
or any other way possible?
Thanks in advance for help and nice tool development.
The text was updated successfully, but these errors were encountered:
You can try with pytest_handlecrashitem(crashitem: Any, report: Any, sched: Any) and pytest_testnodedown(node: Any, error: Any) hooks. There isn't much documentation about them.
I have a usecases where if worker crashes i want to collect some info and dump in log file, so that i can debug.
i tried to search the doc of pytest-xdist and some google but couldn't find anything.
Do we have any hooks that can be called from conftest to dump after the worker crashes?
or any other way possible?
Thanks in advance for help and nice tool development.
The text was updated successfully, but these errors were encountered: