Switch from BashFeature to Feature of bgpvpn testcase 27/46427/1
authorJose Lausuch <jalausuch@suse.com>
Wed, 18 Oct 2017 09:26:21 +0000 (11:26 +0200)
committerJose Lausuch <jalausuch@suse.com>
Mon, 30 Oct 2017 15:57:00 +0000 (15:57 +0000)
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)

docker/features/testcases.yaml
functest/ci/testcases.yaml

index dc13742..b9e6ebb 100644 (file)
@@ -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
index adefdd5..0bdd9bd 100644 (file)
@@ -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