Allow API tests to run in the gate

For more info, check [1].

[1] Ia7dcc6785390a6012c7ba16a14573aa44f2b6fb5

Related-bug: 1518632

Change-Id: I89ef8117209357265667f8ace4ea6ab2c998ee0c
Co-authored-by: Ihar Hrachyshka <ihrachys@redhat.com>
This commit is contained in:
armando-migliaccio 2015-11-24 13:56:47 -08:00
parent ae573d11bc
commit e2d0ffc25a
1 changed files with 8 additions and 16 deletions

24
tox.ini
View File

@ -65,46 +65,38 @@ exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,to
import_exceptions = neutron.i18n
local-check-factory = neutron.hacking.checks.factory
# TODO(armax): due to bug #1515335, set TEMPEST_CONFIG_DIR in your
# local env, like this:
#
# If you are running the tests locally you should set the env variable
# TEMPEST_CONFIG_DIR=/opt/stack/tempest/etc
#
[testenv:apiv1]
sitepackages = True
passenv = TEMPEST_CONFIG_DIR
setenv =
OS_TEST_PATH={toxinidir}/neutron_lbaas/tests/tempest/v1/api
OS_TESTR_CONCURRENCY=1
# TODO(armax): due to bug #1515335, set TEMPEST_CONFIG_DIR in your
# local env, like this:
#
# If you are running the tests locally you should set the env variable
# TEMPEST_CONFIG_DIR=/opt/stack/tempest/etc
#
[testenv:apiv2]
sitepackages = True
passenv = TEMPEST_CONFIG_DIR
setenv =
OS_TEST_PATH={toxinidir}/neutron_lbaas/tests/tempest/v2/api
OS_TESTR_CONCURRENCY=1
# TODO(armax): due to bug #1515335, set TEMPEST_CONFIG_DIR in your
# local env, like this:
#
# If you are running the tests locally you should set the env variable
# TEMPEST_CONFIG_DIR=/opt/stack/tempest/etc
#
[testenv:scenario]
sitepackages = True
passenv = TEMPEST_CONFIG_DIR
setenv =
OS_TEST_PATH={toxinidir}/neutron_lbaas/tests/tempest/v2/scenario
OS_TESTR_CONCURRENCY=1
# TODO(armax): due to bug #1515335, set TEMPEST_CONFIG_DIR in your
# local env, like this:
#
# If you are running the tests locally you should set the env variable
# TEMPEST_CONFIG_DIR=/opt/stack/tempest/etc
#
[testenv:ddt]
sitepackages = True
passenv = TEMPEST_CONFIG_DIR
setenv =
OS_TEST_PATH={toxinidir}/neutron_lbaas/tests/tempest/v2/ddt
OS_TESTR_CONCURRENCY=1