tox runs single threaded and can't be overridden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
John Griffith |
Bug Description
I noticed that I couldn't get tox to run more than a single thread; turns out that we are setting "--no-parallel" in the pretty_tox.sh
file. Removing that makes the default run such that it consumes as many threads as you have available.
This is great and speeds things up significantly; one problem however is that once you get above around 6 parallel test processes things start to get a bit unstable. It's possibly an issue with some of our GIANT test classes that share some fakes/mocks but not sure. Could be we just can't run that many jobs in parallel.
In the meantime, I think lifting the single process limit is useful, and just like we did with run_tests you can specify concurrency if needed:
"tox -epy27 -- --concurrency=6"
NOTE: 6 seems to be the threshold for now.
Changed in cinder: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-1 → 7.0.0 |
Note, bug regarding stability here: https:/ /bugs.launchpad .net/cinder/ +bug/1459854