aboutsummaryrefslogtreecommitdiffstats
path: root/ci/exec_test.sh
diff options
context:
space:
mode:
authorvitikkan <viktor.tikkanen@nokia.com>2016-05-11 10:28:18 +0300
committervitikkan <viktor.tikkanen@nokia.com>2016-05-11 12:09:07 +0300
commit31b76f41eb6566eb4bddf07fbfd5fb42fdf95594 (patch)
tree46318817f7ad6a1b3619d914d84ff8a5d0e171af /ci/exec_test.sh
parente98b6bfeece4b68b439b67b5f2e3ed5352595510 (diff)
Split tempest into smoke and full modes
"tempest_smoke_serial" and "tempest_full_parallel" test cases replace the original "tempest" case. Corrected fetching tempest results from "rally verify list" output (last result is taken instead of the first one). This correction is needed when "rally verify start" is run multiple times. JIRA: FUNCTEST-242 Change-Id: I544a22081655af819dbaaaafc0ba0fa6eae1e4ea Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
Diffstat (limited to 'ci/exec_test.sh')
-rwxr-xr-xci/exec_test.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/ci/exec_test.sh b/ci/exec_test.sh
index bd79dccd1..3a823e736 100755
--- a/ci/exec_test.sh
+++ b/ci/exec_test.sh
@@ -64,6 +64,7 @@ function odl_tests(){
exit 1
fi
}
+
function run_test(){
test_name=$1
serial_flag=""
@@ -96,14 +97,13 @@ function run_test(){
python ${odl_path}/odlreport2db.py -x ${odl_logs}/output.xml -i ${INSTALLER_TYPE} -p ${node_name} -s ${DEPLOY_SCENARIO}
fi
;;
- "tempest")
+ "tempest_smoke_serial")
python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_tempest.py \
- $debug $serial_flag $clean_flag -m smoke $report
- # save tempest.conf for further troubleshooting
- tempest_conf="${RALLY_VENV_DIR}/tempest/for-deployment-*/tempest.conf"
- if [ -f ${tempest_conf} ]; then
- cp $tempest_conf ${FUNCTEST_CONF_DIR}
- fi
+ $debug $clean_flag -s -m smoke $report
+ ;;
+ "tempest_full_parallel")
+ python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_tempest.py \
+ $debug $serial_flag $clean_flag -m full $report
;;
"vims")
python ${FUNCTEST_REPO_DIR}/testcases/vIMS/CI/vIMS.py \