aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jalausuch@suse.com>2017-10-18 11:26:21 +0200
committerJose Lausuch <jalausuch@suse.com>2017-10-30 15:57:00 +0000
commitb9cf2acb089fb39a3f1f77cf113779cab1acd235 (patch)
treec3258924c122d625ad9edddfe79bff67a97ef100
parente1ac08297e711ab4a49c062fd30f2ef9379af8a6 (diff)
Switch from BashFeature to Feature of bgpvpn testcase
With the adaptation in SDNVPN project [1], Functest can run the tests within python instead of a bash call. This also fixes pushing the details section to the DB: JIRA: SDNVPN-183 [1] https://gerrit.opnfv.org/gerrit/#/c/45491/ Change-Id: I7116aa9d5ffe2a816719997771e4f4ecebbcd083 Signed-off-by: Jose Lausuch <jalausuch@suse.com> (cherry picked from commit 3774d9d027c0229c7bec52b247b656a846921369)
-rw-r--r--docker/features/testcases.yaml6
-rw-r--r--functest/ci/testcases.yaml6
2 files changed, 4 insertions, 8 deletions
diff --git a/docker/features/testcases.yaml b/docker/features/testcases.yaml
index dc137429b..b9e6ebbb9 100644
--- a/docker/features/testcases.yaml
+++ b/docker/features/testcases.yaml
@@ -50,10 +50,8 @@ tiers:
installer: '(fuel)|(apex)|(netvirt)'
scenario: 'bgpvpn'
run:
- module: 'functest.core.feature'
- class: 'BashFeature'
- args:
- cmd: 'run_sdnvpn_tests.py'
+ module: 'sdnvpn.test.functest.run_sdnvpn_tests'
+ class: 'SdnvpnFunctest'
-
case_name: functest-odl-sfc
diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml
index adefdd5f4..0bdd9bd3a 100644
--- a/functest/ci/testcases.yaml
+++ b/functest/ci/testcases.yaml
@@ -278,10 +278,8 @@ tiers:
installer: '(fuel)|(apex)|(netvirt)'
scenario: 'bgpvpn'
run:
- module: 'functest.core.feature'
- class: 'BashFeature'
- args:
- cmd: 'run_sdnvpn_tests.py'
+ module: 'sdnvpn.test.functest.run_sdnvpn_tests'
+ class: 'SdnvpnFunctest'
-
case_name: functest-odl-sfc