pytest-xdist icon indicating copy to clipboard operation
pytest-xdist copied to clipboard

pytest plugin for distributed testing and loop-on-failures testing modes.

Results 136 pytest-xdist issues
Sort by recently updated
recently updated
newest added

I have this in my `pytest.ini`: ``` [pytest] addopts = --numprocesses auto --dist loadscope ``` When I need to run with just one process, such as when I am just...

Hello, We are using: ``` platform linux -- Python 3.9.5, pytest-6.2.5, py-1.10.0, pluggy-0.13.1 plugins: forked-1.4.0, xdist-2.5.0, pytest_check-1.0.4, teamcity-messages-1.29, anyio-3.3.4, testrail-2.9.1, dependency-0.5.1 ``` When trying to execute pytest using xdist on...

In the [documentation](https://pytest-xdist.readthedocs.io/en/stable/distribution.html) it says that if a test is not in an `xdist_group`, that it defaults to the `load` behaviour. Would it be possible to choose the default behaviour...

I am using `pytest-xdist` to test code which uses compiled modules. Occasionally these modules fail with errors such as seg faults. Previously this would lead to an `E` in the...

When running our test suite with 10 worker using `pytest -n 10 --dist loadfile tests/`, test execution **sporadically** fails with the following error message ``` bash internal error failed on...

we should figure a acceptable serialization a initial idea is to put it in as something like ```python {"gateway": { "id" : node.gateway.id, "spec": node.gateway.spec}} ``` # refs * pytest-dev/pytest-html#591...

``` (seleniumbase) D:\workspace>pytest -d --tx socket=10.13.129.73:8888 --rsyncdir seleniumbasedemo/ seleniumbasedemo/testcase/baidu --html=report-re.html ============================= test session starts ============================= platform win32 -- Python 3.6.5, pytest-3.9.2, py-1.8.0, pluggy-0.13.0 rootdir: D:\workspace\seleniumbasedemo, inifile: pytest.ini plugins: allure-adaptor-1.7.10, cov-2.8.1,...

The new `--maxschedchunk` option is great for running test suites with few slow tests. However, it has a limitation in that it sends two tests to each worker at the...

It seems that currently, initializing workers is blocking and done sequentially: ``` def setup_nodes(self, putevent): self.config.hook.pytest_xdist_setupnodes(config=self.config, specs=self.specs) self.trace("setting up nodes") # from multiprocessing import Pool # p = Pool(len(self.specs)) #...

Hello, I'm upgrading from Python 3.8 to Python 3.10. In my previous configuration, this was the pytest set up: ``` platform linux -- Python 3.8.6, pytest-3.10.1, py-1.9.0, pluggy-0.13.1 plugins: random-order-1.0.4,...