Use Config.invocation_params for consistent worker initialization

Decided to keep the old way still working for now.

Fix #6
Fix #445
This commit is contained in:
Bruno Oliveira
2019-07-02 19:33:50 -03:00
parent a19d74d5fe
commit 953a3f0b4d
4 changed files with 55 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
Initialization between workers and master nodes is now more consistent, which fixes a number of
long-standing issues related to startup with the ``-c`` option.
Issues:
* `#6 <https://github.com/pytest-dev/pytest-xdist/issues/6>`__: Poor interaction between ``-n#`` and ``-c X.cfg``
* `#445 <https://github.com/pytest-dev/pytest-xdist/issues/445>`__: pytest-xdist is not reporting the same nodeid as pytest does
This however only works with **pytest 5.1 or later**, as it required changes in pytest itself.