[doc]Parallel test execution with py.test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Irina Povolotskaya |
Bug Description
https:/
commit 6b01a6c7d2f1c2f
Author: Dima Shulyak <email address hidden>
Date: Fri Nov 7 17:01:18 2014 +0200
Parallel test execution with py.test
Patch adds ability to execute test run distributed over
several processes, each one with isolated database.
Assumptions:
- nailgun user, requires createdb permission, if not please precreate
databases in format described below
- postgres database will be used for initial connection
- for environment where createdb can not be granted, like ci
operator need to create several databases, nailgun[0-7],
count of databases should be equal to TEST_WORKERS variable
- If no TEST_WORKERS provided - default database name will be used,
it is almost every time nailgun, but you can overwrite it with
TEST_
To execute tests on your local environment:
py.test -n 4 nailgun/tests/
DocImpact
Partial-Bug: 1388751
Change-Id: I6037108f1888b6
Changed in fuel: | |
milestone: | none → 6.0 |
assignee: | nobody → Dima Shulyak (dshulyak) |
summary: |
- Parallel test execution with py.test + [doc]Parallel test execution with py.test |
Changed in fuel: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in fuel: | |
status: | Triaged → Fix Committed |
Changed in fuel: | |
importance: | High → Medium |
Changed in fuel: | |
assignee: | Dima Shulyak (dshulyak) → Fuel Documentation Team (fuel-docs) |
Changed in fuel: | |
assignee: | Fuel Documentation Team (fuel-docs) → Irina (ipovolotskaya) |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Closed wrong bug