Switch from BashFeature to Feature of bgpvpn testcase
authorJose Lausuch <jalausuch@suse.com>
Wed, 18 Oct 2017 09:26:21 +0000 (11:26 +0200)
committerJose Lausuch <jalausuch@suse.com>
Wed, 18 Oct 2017 17:18:35 +0000 (17:18 +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>
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 cb9f21e..207d747 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