diff options
author | Niall Bunting <niall.bunting@hpe.com> | 2016-06-07 14:43:50 +0000 |
---|---|---|
committer | Niall Bunting <niall.bunting@hpe.com> | 2016-07-01 16:54:48 +0000 |
commit | 57cea8d0dd4789f3b5ccc622b84f59980f3ac2a7 (patch) | |
tree | 300a13bc83b6e346314ccda9c332926887fbe9f2 /tox.ini | |
parent | 6e7c7229abbefdb04c9070e242d23e02678ac3e6 (diff) | |
download | glance_store-57cea8d0dd4789f3b5ccc622b84f59980f3ac2a7.tar.gz |
Split functional tests apart
Currently all the functional tests are ran together in one job. This
patch breaks the tests apart so only certain parts of them have to be ran.
This will mean the tests can be ran in parallel and only the particular
ones that are required, as the functional tests require that backend to
be avalible.
Change-Id: I61ba679b8041a89fb5a7589a62db8b6f42cd1058
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -39,10 +39,15 @@ commands = python setup.py testr --coverage --testr-args='^(?!.*test.*coverage). install_command = pip install --allow-all-external --allow-insecure netaddr -U {opts} {packages} commands = {posargs} -[testenv:functional] +[testenv:functional-swift] sitepackages = True -setenv = OS_TEST_PATH=./glance_store/tests/functional -commands = python setup.py testr --slowest --testr-args='glance_store.tests.functional' +setenv = OS_TEST_PATH=./glance_store/tests/functional/swift +commands = python setup.py testr --slowest --testr-args='glance_store.tests.functional.swift' + +[testenv:functional-filesystem] +sitepackages = True +setenv = OS_TEST_PATH=./glance_store/tests/functional/filesystem +commands = python setup.py testr --slowest --testr-args='glance_store.tests.functional.filesystem' [flake8] # TODO(dmllr): Analyze or fix the warnings blacklisted below |