Merge "Add option to run stress tests."
This commit is contained in:
@@ -341,6 +341,9 @@ export DEVSTACK_GATE_ZEROMQ=${DEVSTACK_GATE_ZEROMQ:-0}
|
||||
# Set to 1 to run nova coverage with Tempest
|
||||
export DEVSTACK_GATE_TEMPEST_COVERAGE=${DEVSTACK_GATE_TEMPEST_COVERAGE:-0}
|
||||
|
||||
# Set to 1 to run tempest stress tests
|
||||
export DEVSTACK_GATE_TEMPEST_STRESS=${DEVSTACK_GATE_TEMPEST_STRESS:-0}
|
||||
|
||||
export DEVSTACK_GATE_CINDER=${DEVSTACK_GATE_CINDER:-0}
|
||||
|
||||
# Set to 1 to enable Cinder secure delete.
|
||||
|
||||
@@ -247,6 +247,9 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then
|
||||
elif [[ "$DEVSTACK_GATE_TEMPEST_COVERAGE" -eq "1" ]] ; then
|
||||
echo "Generating coverage report"
|
||||
sudo -H -u stack tox -ecoverage -- -o $BASE/new/tempest/coverage-report
|
||||
elif [[ "$DEVSTACK_GATE_TEMPEST_STRESS" -eq "1" ]] ; then
|
||||
echo "Running stress tests"
|
||||
sudo -H -u stack tox -estress
|
||||
else
|
||||
echo "Running tempest smoke tests"
|
||||
sudo -H -u stack tox -esmoke
|
||||
|
||||
Reference in New Issue
Block a user