Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45808

Debugging parallel nose tests?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!roy
From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Debugging parallel nose tests?
Date Thu, 23 May 2013 09:09:21 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Lines 17
Message-ID <roy-1CC2EA.09092123052013@news.panix.com> (permalink)
NNTP-Posting-Host localhost
X-Trace reader1.panix.com 1369314561 28230 127.0.0.1 (23 May 2013 13:09:21 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Thu, 23 May 2013 13:09:21 +0000 (UTC)
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Xref csiph.com comp.lang.python:45808

Show key headers only | View raw


I've got a suite of about 150 tests written using unittest.  It takes 
5-10 minutes to run, so I'd really like to use nose to run things in 
parallel.  The problem is, when I do that, I get lots of test failures.  
Obviously, we've got some kind of inter-test dependency that I haven't 
been able to locate.

Is there some way to make nose print a report of how it partitioned the 
tests across the various processes?  If I could see that, it might help 
us reproduce the failures.

We're using:

nosetests --process-timeout=60 --processes=40 test_api.py

and

_multiprocess_can_split_ = True

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Debugging parallel nose tests? Roy Smith <roy@panix.com> - 2013-05-23 09:09 -0400
  Re: Debugging parallel nose tests? Dave Angel <davea@davea.name> - 2013-05-23 14:31 -0400
    Re: Debugging parallel nose tests? Roy Smith <roy@panix.com> - 2013-05-23 21:44 -0400
  Re: Debugging parallel nose tests? Roy Smith <roy@panix.com> - 2013-05-24 23:09 -0400

csiph-web