Wire up support for DEVSTACK_GATE_SMOKE_SERIAL
We want to default to running smoke tests in parallel, but that won't work in neutron so add a serial mode that can be explicitly set. Change-Id: Ia659fd7016458f6ba4d4d43ec5811cd830ddd22d
This commit is contained in:
@@ -465,6 +465,9 @@ export DEVSTACK_GATE_TEMPEST_HEAT_SLOW=${DEVSTACK_GATE_TEMPEST_HEAT_SLOW:-0}
|
||||
# Set to 1 to run tempest large ops test
|
||||
export DEVSTACK_GATE_TEMPEST_LARGE_OPS=${DEVSTACK_GATE_TEMPEST_LARGE_OPS:-0}
|
||||
|
||||
# Set to 1 to run tempest smoke tests serially
|
||||
export DEVSTACK_GATE_SMOKE_SERIAL=${DEVSTACK_GATE_SMOKE_SERIAL:-0}
|
||||
|
||||
# Set to 1 to explicitly enable tempest tenant isolation. Otherwise tenant isolation setting
|
||||
# for tempest will be the one chosen by devstack.
|
||||
export DEVSTACK_GATE_TEMPEST_ALLOW_TENANT_ISOLATION=${DEVSTACK_GATE_TEMPEST_ALLOW_TENANT_ISOLATION:-0}
|
||||
|
||||
@@ -296,6 +296,10 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then
|
||||
echo "Running large ops tests"
|
||||
sudo -H -u tempest tox -elarge-ops
|
||||
res=$?
|
||||
elif [[ "$DEVSTACK_GATE_SMOKE_SERIAL" -eq "1" ]] ; then
|
||||
echo "Running tempest smoke tests"
|
||||
sudo -H -u tempest tox -esmoke-serial
|
||||
res=$?
|
||||
else
|
||||
echo "Running tempest smoke tests"
|
||||
sudo -H -u tempest tox -esmoke
|
||||
|
||||
Reference in New Issue
Block a user