[Question]How the fixture can communicate that it is terminating so that the master can re-schedule the tests to other workers #3322
Labels
plugin: xdist
related to the xdist external plugin
status: needs information
reporter needs to provide more information; can be closed after 2 or more weeks of inactivity
type: question
general question, might be closed after 2 weeks of inactivity
I tried sys.exit() in a session scope fixture but even then the test is marked as Error. Also the same worker was allocated with more tests and they also end up in error. What I am trying to achieve is if a worker terminates then the master should re-schedule the tests to other workers.
Contests of conftest.py:
Contents of test_parallel.py:
Command line with output:
The text was updated successfully, but these errors were encountered: