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-18 17:18:35 +0000
commit3774d9d027c0229c7bec52b247b656a846921369 (patch)
tree762d08e2c3120eb160a2aec2ce8c4b65652b9dc9
parent613c672ac166ca92ce1284131ec06446e07e0023 (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>
-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 cb9f21e08..207d747b1 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