Merge "Rename test sets and include more api tests"
This commit is contained in:
commit
490112929f
@ -25,35 +25,33 @@ set -x
|
|||||||
# The only parameter this script takes is the name of a test list to use:
|
# The only parameter this script takes is the name of a test list to use:
|
||||||
# ./$0 <test_list_name>
|
# ./$0 <test_list_name>
|
||||||
#
|
#
|
||||||
# If a name is not supplied commit_multinode will be used.
|
# If a name is not supplied scenario will be used.
|
||||||
|
|
||||||
test_list_name=${1:-commit_multinode}
|
test_list_name=${1:-scenario}
|
||||||
testr_ouput_lines=${testr_output_lines:-100}
|
testr_ouput_lines=${testr_output_lines:-100}
|
||||||
RUN_TEMPEST_OPTS=${RUN_TEMPEST_OPTS:-''}
|
RUN_TEMPEST_OPTS=${RUN_TEMPEST_OPTS:-''}
|
||||||
TESTR_OPTS=${TESTR_OPTS:-''}
|
TESTR_OPTS=${TESTR_OPTS:-''}
|
||||||
|
|
||||||
|
|
||||||
# -------------------- Functions -------------------------
|
# -------------------- Functions -------------------------
|
||||||
# Test list functions. Each tempest test scenario (eg commit gate, nightly,
|
# Test list functions. Each tempest test scenario (eg scenario, api, smoke,
|
||||||
# pre release) should have a function here to generate the list of tests that
|
# defcore) should have a function here to generate the list of tests that
|
||||||
# should be run. Each function takes in the full list of tempest tests and
|
# should be run. Each function takes in the full list of tempest tests and
|
||||||
# should output a filtered list.
|
# should output a filtered list.
|
||||||
|
|
||||||
function gen_test_list_commit_multinode() {
|
function gen_test_list_api() {
|
||||||
# filter test list to produce list of tests to use.
|
# filter test list to produce list of tests to use.
|
||||||
egrep 'tempest\.api\.(identity|image|volume)'\
|
egrep 'tempest\.api\.(identity|image|volume|network|compute|object_storage)'\
|
||||||
|grep -vi xml \
|
|grep -vi xml
|
||||||
|grep -v compute \
|
|
||||||
|grep -v VolumesV.ActionsTest
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Run selected scenario tests
|
# Run selected scenario tests
|
||||||
function gen_test_list_commit_aio() {
|
function gen_test_list_scenario() {
|
||||||
egrep 'tempest\.scenario\.test_(minimum|swift|server|network)_basic(_ops)?'
|
egrep 'tempest\.scenario\.test_(minimum|swift|server|network)_basic(_ops)?'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Run smoke tests
|
# Run smoke tests
|
||||||
function gen_test_list_nightly_heat_multinode() {
|
function gen_test_list_smoke() {
|
||||||
grep smoke
|
grep smoke
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,8 +32,6 @@ export DEPLOY_LOGGING=${DEPLOY_LOGGING:-"yes"}
|
|||||||
export DEPLOY_OPENSTACK=${DEPLOY_OPENSTACK:-"yes"}
|
export DEPLOY_OPENSTACK=${DEPLOY_OPENSTACK:-"yes"}
|
||||||
export DEPLOY_SWIFT=${DEPLOY_SWIFT:-"yes"}
|
export DEPLOY_SWIFT=${DEPLOY_SWIFT:-"yes"}
|
||||||
export DEPLOY_TEMPEST=${DEPLOY_TEMPEST:-"yes"}
|
export DEPLOY_TEMPEST=${DEPLOY_TEMPEST:-"yes"}
|
||||||
# Set the level of tempest testing, default is unset which uses `commit_multinode`
|
|
||||||
export TEMPEST_SCRIPT_PARAMETERS=${TEMPEST_SCRIPT_PARAMETERS:-"commit_aio"}
|
|
||||||
# Limit the gate check to only performing one attempt, unless already set
|
# Limit the gate check to only performing one attempt, unless already set
|
||||||
export MAX_RETRIES=${MAX_RETRIES:-"1"}
|
export MAX_RETRIES=${MAX_RETRIES:-"1"}
|
||||||
# limit forks for gate check
|
# limit forks for gate check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user