From 451522261af70df59874dfa2930fb4e61f9e4cc6 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 12 Jun 2014 23:51:10 -0400 Subject: [PATCH] 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 --- devstack-vm-gate-wrap.sh | 3 +++ devstack-vm-gate.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh index 07d260f3..cb2685fb 100755 --- a/devstack-vm-gate-wrap.sh +++ b/devstack-vm-gate-wrap.sh @@ -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 diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index 607d0f6c..a9fe496a 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -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