[py-dev] New issue 55 in py-trunk: Distributed Load Testing Issues

issues-noreply at bitbucket.org issues-noreply at bitbucket.org
Thu Oct 15 22:12:17 CEST 2009


New issue 55: Distributed Load Testing Issues
http://bitbucket.org/hpk42/py-trunk/issue/55/distributed-load-testing-issues

dsaputo on Thu, 15 Oct 2009 22:12:17 +0200:

Description:
  Using the py.test -n option, the txnodes seem to be ready to receive tests.

The only way I've seen tests distributed to the nodes is if the tests are all in separate files, e.g. test_spam1.py, test_spam2.py, etc. Even then, it distributes unevenly with some nodes never getting any tests.

If there is only one file with multiple tests, e.g. test_spam.py contains test_eggs1(), test_eggs2(), etc., it appears that all tests go to one node.

If there are generated tests (using pytest_generate_tests(metafunc)), all these tests also go to one node.

Is this the way it works, is this a bug, or am I doing something wrong?

Python version 2.6.3

py.test version 1.0.2

Tested on

Mac OS X 10.6.1

Windows XP SP2

Responsible:
  hpk42
-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.



More information about the Pytest-dev mailing list