6b01a6c7d2
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_NAILGUN_DB env variable To execute tests on your local environment: py.test -n 4 nailgun/tests/ DocImpact Partial-Bug: 1388751 Change-Id: I6037108f1888b61f971a10db5209b20712467173
21 lines
366 B
Plaintext
21 lines
366 B
Plaintext
-r requirements.txt
|
|
hacking==0.7
|
|
mock==1.0
|
|
nose==1.1.2
|
|
unittest2==0.5.1
|
|
nose2==0.4.1
|
|
nose-timer==0.2.0
|
|
sphinx==1.2
|
|
rst2pdf==0.93
|
|
sphinxcontrib-plantuml==0.3
|
|
sphinxcontrib-blockdiag==1.3.0
|
|
sphinxcontrib-actdiag==0.6.0
|
|
sphinxcontrib-seqdiag==0.6.0
|
|
sphinxcontrib-nwdiag==0.7.0
|
|
tox==1.7.1
|
|
webtest==2.0.14
|
|
pyprof2calltree==1.3.2
|
|
gprof2dot==2014.09.29
|
|
pytest
|
|
pytest-xdist
|