pytest icon indicating copy to clipboard operation
pytest copied to clipboard

pytest_runtest_makereport of custom conftest doesn't get called when running with xdist with -n option

Open ssrikanta-scea opened this issue 10 years ago • 3 comments

I have noticed registering new custom plugin having the method pytest_runtest_makereport(item, call) doesn't get call back, when running with pytest-xdist plugin with -n option However it woks if we do sequential execution without -n option.

ssrikanta-scea avatar Aug 09 '16 09:08 ssrikanta-scea

can you report this one in the xdist but tracker ( pytest-dev/pytest-xdist) and attack some logs/examples

with just your issue it would require a unsustainable amount of work to figure whats wrong for you

also note that the hook is if ever only executed on the slave

RonnyPfannschmidt avatar Aug 09 '16 10:08 RonnyPfannschmidt

ok.. i will add it to py-test xdist

ssrikanta-scea avatar Aug 11 '16 08:08 ssrikanta-scea

@ssrikanta-scea thanks! I'm closing this one now then.

nicoddemus avatar Aug 11 '16 11:08 nicoddemus