pytest-xdist
pytest-xdist copied to clipboard
Allow other plugins to use xdist's channels for communication
rerunfailures plugin uses its own sockets for communication between master and worker nodes. Because of hardcoded localhost I assume it won't work in an actual distributed setup.
If I'm not mistaken, I've seen at least one more plugin doing something similar, but can't find it right now.
Could xdist provide some interface for other plugins to perform communication?
Currently my guess is that some form of "execute this function on the master node (and optionally get the result)" should cover most cases. At least, it will be enough for rerunfailures.
+1 on this one