Add smoke tests to target release

After running exercises, grenade may run tempest
smoke tests if chosen (default is true)

Implements: bp nightly-upgrade-testing
Change-Id: I3316f0cf1d8437d25564e2e93ae1a4aa9bd8bf76
This commit is contained in:
Adalberto Medeiros 2013-06-06 09:38:58 -04:00
parent e43adbdf83
commit aa13c9fe90
2 changed files with 10 additions and 0 deletions

View File

@ -156,6 +156,8 @@ set -o xtrace
BASE_RUN_EXERCISES=${BASE_RUN_EXERCISES:-RUN_EXERCISES}
TARGET_RUN_EXERCISES=${TARGET_RUN_EXERCISES:-RUN_EXERCISES}
# Set up for smoke tests
TARGET_RUN_SMOKE=${TARGET_RUN_SMOKE:=True}
# Install 'Base' Build of OpenStack
# =================================
@ -284,6 +286,11 @@ if [[ "$RUN_TARGET" == "True" ]]; then
fi
stop $STOP target-exercise 320
if [[ "$TARGET_RUN_SMOKE" == "True" ]]; then
echo_summary "Running tempest smoke tests"
$TARGET_RELEASE_DIR/tempest/run_tests.sh -N -s
stop $STOP run-smoke 330
fi
# Save databases
# --------------

View File

@ -31,6 +31,9 @@ TARGET_DEVSTACK_DIR=$TARGET_RELEASE_DIR/devstack
# Allow skipping the exercises
RUN_EXERCISES=True
# Allow skipping smoke tests
TARGET_RUN_SMOKE=True
# Saved stuff
SAVE_DIR=${STACK_ROOT}/save