summaryrefslogtreecommitdiffstats
path: root/functest/ci
diff options
context:
space:
mode:
Diffstat (limited to 'functest/ci')
-rwxr-xr-xfunctest/ci/config_functest.yaml2
-rwxr-xr-xfunctest/ci/exec_test.sh13
-rwxr-xr-xfunctest/ci/run_tests.py6
-rwxr-xr-xfunctest/ci/testcases.yaml31
4 files changed, 25 insertions, 27 deletions
diff --git a/functest/ci/config_functest.yaml b/functest/ci/config_functest.yaml
index 2feab771b..f6cb14cb1 100755
--- a/functest/ci/config_functest.yaml
+++ b/functest/ci/config_functest.yaml
@@ -20,7 +20,7 @@ general:
repo_sdnvpn: /home/opnfv/repos/sdnvpn
repo_sfc: /home/opnfv/repos/sfc
dir_repo_onos: /home/opnfv/repos/onos
- dir_repo_promise: /home/opnfv/repos/promise
+ repo_promise: /home/opnfv/repos/promise
repo_doctor: /home/opnfv/repos/doctor
repo_copper: /home/opnfv/repos/copper
dir_repo_ovno: /home/opnfv/repos/ovno
diff --git a/functest/ci/exec_test.sh b/functest/ci/exec_test.sh
index 54a7c624e..b288fe367 100755
--- a/functest/ci/exec_test.sh
+++ b/functest/ci/exec_test.sh
@@ -90,22 +90,12 @@ function run_test(){
--osusername ${OS_USERNAME} \
${args}
;;
- "vims")
- python ${FUNCTEST_TEST_DIR}/vnf/ims/vims.py $clean_flag $report
- ;;
"onos")
python ${FUNCTEST_TEST_DIR}/sdn/onos/teston/onos.py
;;
"onos_sfc")
python ${FUNCTEST_TEST_DIR}/sdn/onos/teston/onos.py -t sfc
;;
- "promise")
- python ${FUNCTEST_TEST_DIR}/features/promise.py $report
- sleep 10 # to let the instances terminate
- ;;
- "doctor")
- python ${FUNCTEST_TEST_DIR}/features/doctor.py $report
- ;;
"ovno")
# suite under rewritting for colorado
# no need to run anything until refactoring done
@@ -116,9 +106,6 @@ function run_test(){
source ${FUNCTEST_CONF_DIR}/stackrc
python ${FUNCTEST_TEST_DIR}/security_scan/security_scan.py --config ${FUNCTEST_TEST_DIR}/security_scan/config.ini
;;
- "copper")
- python ${FUNCTEST_TEST_DIR}/features/copper.py $report
- ;;
"moon")
python ${REPOS_DIR}/moon/tests/run_tests.py $report
;;
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py
index ef0800163..320102ddc 100755
--- a/functest/ci/run_tests.py
+++ b/functest/ci/run_tests.py
@@ -148,7 +148,11 @@ def run_test(test, tier_name, testcases=None):
module = importlib.import_module(run_dict['module'])
cls = getattr(module, run_dict['class'])
test_case = cls()
- result = test_case.run()
+ try:
+ kwargs = run_dict['args']
+ result = test_case.run(**kwargs)
+ except KeyError:
+ result = test_case.run()
if result == testcase_base.TestcaseBase.EX_OK:
if GlobalVariables.REPORT_FLAG:
test_case.publish_report()
diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml
index 27d358bf7..12d791f08 100755
--- a/functest/ci/testcases.yaml
+++ b/functest/ci/testcases.yaml
@@ -99,6 +99,10 @@ tiers:
run:
module: 'functest.opnfv_tests.sdn.odl.odl'
class: 'ODLTests'
+ args:
+ suites:
+ - /home/opnfv/repos/odl_test/csit/suites/integration/basic
+ - /home/opnfv/repos/odl_test/csit/suites/openstack/neutron
-
name: onos
@@ -185,6 +189,9 @@ tiers:
dependencies:
installer: '(fuel)|(joid)'
scenario: ''
+ run:
+ module: 'functest.opnfv_tests.features.promise'
+ class: 'Promise'
-
name: doctor
@@ -221,18 +228,18 @@ tiers:
dependencies:
installer: 'apex'
scenario: '^((?!fdio).)*$'
- -
- name: copper
- criteria: 'status == "PASS"'
- blocking: false
- description: >-
- Test suite for policy management based on OpenStack Congress
- dependencies:
- installer: '(apex)|(joid)'
- scenario: '^((?!fdio|lxd).)*$'
- run:
- module: 'functest.opnfv_tests.features.copper'
- class: 'Copper'
+# -
+# name: copper
+# criteria: 'status == "PASS"'
+# blocking: false
+# description: >-
+# Test suite for policy management based on OpenStack Congress
+# dependencies:
+# installer: '(apex)|(joid)'
+# scenario: '^((?!fdio|lxd).)*$'
+# run:
+# module: 'functest.opnfv_tests.features.copper'
+# class: 'Copper'
-
name: moon
criteria: 'status == "PASS"'