diff options
author | Viktor Tikkanen <viktor.tikkanen@nokia.com> | 2016-03-08 13:02:02 +0200 |
---|---|---|
committer | Viktor Tikkanen <viktor.tikkanen@nokia.com> | 2016-03-08 13:19:25 +0200 |
commit | 057478fa29072aa2f30339c60298137d7d5c73d1 (patch) | |
tree | a019a4bfd900b7a4bce571fcebba5b65ec3057b3 /jjb/functest | |
parent | aaab1d8c084c6424c1271a59bc43d111a206b663 (diff) |
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 <viktor.tikkanen@nokia.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r-- | jjb/functest/functest-ci-jobs.yml | 8 |
1 files changed, 4 insertions, 4 deletions
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) |