From 057478fa29072aa2f30339c60298137d7d5c73d1 Mon Sep 17 00:00:00 2001 From: Viktor Tikkanen Date: Tue, 8 Mar 2016 13:02:02 +0200 Subject: Forced serial execution of tempest test suit "-s" option is added for run_tests.sh in order to force serial execution of test cases in Functest test suites. This option affects currently Tempest test suite. Using of this option will reduce number of consumed floating IP addresses and should resolve possible concurrency problems of testr tool. On the other hand, it will increase the total execution time of test cases. Change-Id: Ib685db5faa94ed498ff9a0ec6587786b60f0c73d Signed-off-by: Viktor Tikkanen --- jjb/functest/functest-ci-jobs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'jjb/functest/functest-ci-jobs.yml') diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml index ba5cfec83..9ec4268c0 100644 --- a/jjb/functest/functest-ci-jobs.yml +++ b/jjb/functest/functest-ci-jobs.yml @@ -211,9 +211,9 @@ - shell: | #!/bin/bash set +e - flag="" + flag="-s" if [ "${PUSH_RESULTS_TO_DB}" == "true" ]; then - flag="-r" + flag=$flag" -r" fi echo "Functest: run $FUNCTEST_SUITE_NAME" cmd="${FUNCTEST_REPO_DIR}/docker/run_tests.sh --test $FUNCTEST_SUITE_NAME ${flag}" @@ -226,9 +226,9 @@ - shell: | #!/bin/bash set +e - flag="" + flag="-s" if [ "${PUSH_RESULTS_TO_DB}" == "true" ]; then - flag="-r" + flag=$flag" -r" fi cmd="${FUNCTEST_REPO_DIR}/docker/run_tests.sh ${flag}" container_id=$(docker ps -a | grep opnfv/functest | awk '{print $1}' | head -1) -- cgit 1.2.3-korg