[Pytest-commit] Issue #669: py.test not running any tests when using -n (xdist) (hpk42/pytest)

vmalloc issues-reply at bitbucket.org
Thu Jan 29 08:53:54 CET 2015


New issue 669: py.test not running any tests when using -n (xdist)
https://bitbucket.org/hpk42/pytest/issue/669/pytest-not-running-any-tests-when-using-n

vmalloc:

When I run py.test without any arguments all my tests are running as expected:
```
$ py.test tests
========================================================= test session starts =========================================================
platform darwin -- Python 2.7.9 -- py-1.4.26 -- pytest-2.6.4
plugins: capturelog, xdist
collected 438 items
....... (omitted)

=============================================== 435 passed, 3 skipped in 33.90 seconds ================================================
```

However, when I pass `-n 4`, nothing gets actually run:
```
in/py.test -n 4 
========================================================= test session starts =========================================================
platform darwin -- Python 2.7.9 -- py-1.4.26 -- pytest-2.6.4
plugins: capturelog, xdist
gw0 [439] / gw1 [439] / gw2 [439] / gw3 [439]
scheduling tests via LoadScheduling

==========================================================  in 3.03 seconds ===========================================================
```




More information about the pytest-commit mailing list