Add an option to enable the nova v3 api tests

This commit adds a new env variable DEVSTACK_GATE_TEMPEST_NOVA_V3_API
used to enable the Nova v3 API tests in tempest. This depends on
devstack change: If14deb80f271061e70fae6c3d13b210ac0dd9399

Change-Id: I0e4fd5a1f1cde138af08f1cf9bf4b9e80c241e81
This commit is contained in:
Matthew Treinish
2014-06-12 23:51:10 -04:00
parent b9349a5e51
commit 451522261a
2 changed files with 6 additions and 0 deletions

View File

@@ -189,6 +189,9 @@ export DEVSTACK_GATE_KEYSTONE_V3=${DEVSTACK_GATE_KEYSTONE_V3:-0}
# Set to 1 to configure Keystone to run under mod_wsgi and HTTPD
export DEVSTACK_GATE_USE_APACHE=${DEVSTACK_GATE_USE_APACHE:-0}
# Set to 1 to enable the Nova v3 API tests
export DEVSTACK_GATE_TEMPEST_NOVA_API_v3=${DEVSTACK_GATE_TEMPEST_NOVA_API_v3:-0}
# Set the number of threads to run tempest with
DEFAULT_CONCURRENCY=$(nproc)
if [ ${DEFAULT_CONCURRENCY} -gt 3 ] ; then

View File

@@ -227,6 +227,9 @@ EOF
# check.
echo "APACHE_ENABLED_SERVICES+=key" >> localrc
fi
if [ "$DEVSTACK_GATE_TEMPEST_NOVA_V3" -eq "1" ]; then
echo "TEMPEST_NOVA_API_V3=True" >> localrc
fi
}
if [ "$DEVSTACK_GATE_GRENADE" -eq "1" ]; then