Fix typo in DEVSTACK_GATE_TEMPEST_NOVA_V3_API

This commit fixes a small oversight in setting the nova v3 api tempest
tests. When this env variable was added to set whether the testing was
enabled the check used a different variable name than the wrap script.
Also neither of these variables matched what was being set by jenkins,
this meant that the v3 api tests would never be enabled. This fixes
that by ensuring the variables are the same and matches the variable
set in the JJB template for the v3 api jobs.

Change-Id: I54925a468c4dc7eb9390a78d509b9385caa587d4
This commit is contained in:
Matthew Treinish
2014-06-23 09:40:49 -04:00
parent edfeee3c90
commit e5a09da30c
2 changed files with 2 additions and 2 deletions

View File

@@ -193,7 +193,7 @@ export DEVSTACK_GATE_KEYSTONE_V3=${DEVSTACK_GATE_KEYSTONE_V3:-0}
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}
export DEVSTACK_GATE_TEMPEST_NOVA_V3_API=${DEVSTACK_GATE_TEMPEST_NOVA_V3_API:-0}
# Set the number of threads to run tempest with
DEFAULT_CONCURRENCY=$(nproc)

View File

@@ -227,7 +227,7 @@ EOF
# by default.
echo "APACHE_ENABLED_SERVICES=" >> localrc
fi
if [ "$DEVSTACK_GATE_TEMPEST_NOVA_V3" -eq "1" ]; then
if [ "$DEVSTACK_GATE_TEMPEST_NOVA_V3_API" -eq "1" ]; then
echo "TEMPEST_NOVA_API_V3=True" >> localrc
fi
}