From 4d647e03fc776e9ea369481217d1825c3625b041 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Thu, 28 Jul 2016 21:09:39 +0200 Subject: Select test cases in tempest to be blacklisted per each scenario JIRA: FUNCTEST-396 Added example for SDNVPN test cases Change-Id: I623130fc330c95239d982097552ca09f2a7ea34a Signed-off-by: jose.lausuch --- ci/exec_test.sh | 15 +-------------- ci/testcases.yaml | 2 +- 2 files changed, 2 insertions(+), 15 deletions(-) (limited to 'ci') diff --git a/ci/exec_test.sh b/ci/exec_test.sh index 800b44ab4..c48bde99f 100755 --- a/ci/exec_test.sh +++ b/ci/exec_test.sh @@ -116,24 +116,11 @@ function run_test(){ $clean_flag --sanity all $report ;; "bgpvpn") - sdnvpn_repo_dir=${repos_dir}/sdnvpn/test/functest/ - # Copy blacklist from sdnvpn repo to the proper place to execute functest - src=${sdnvpn_repo_dir}/tempest_blacklist.txt - dst=${FUNCTEST_REPO_DIR}/testcases/OpenStack/tempest/custom_tests/blacklist.txt - cp $src $dst - # Execute tempest smoke with blacklist - python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/tempest/run_tempest.py \ - $clean_flag -s -m smoke $report - # Remove blacklist file - rm $dst - - # Execute SDNVPN test cases python ${sdnvpn_repo_dir}/run_tests.py $report - ;; "onos") python ${FUNCTEST_REPO_DIR}/testcases/Controllers/ONOS/Teston/onosfunctest.py - ;; + ;; "promise") python ${FUNCTEST_REPO_DIR}/testcases/features/promise.py $report sleep 10 # to let the instances terminate diff --git a/ci/testcases.yaml b/ci/testcases.yaml index 634d041b0..befcdd406 100644 --- a/ci/testcases.yaml +++ b/ci/testcases.yaml @@ -60,7 +60,7 @@ tiers: the OpenStack deplopyment. dependencies: installer: '' - scenario: '^(?!.*bgpvpn).*$' + scenario: '' - name: rally_sanity -- cgit 1.2.3-korg