Fixing SDNVPN tempest API tests 63/57263/3
authorGeorg Kunz <georg.kunz@ericsson.com>
Wed, 9 May 2018 08:27:51 +0000 (10:27 +0200)
committerDan Xu <xudan16@huawei.com>
Fri, 11 May 2018 07:41:27 +0000 (07:41 +0000)
The code to run Tempest tests has changed in SDNVPN between Euphrates
and Fraser, causing these tests to fail. Moreover, due to a bug in
SDNVPN, not all bgpvpn API tests are currently being run. This is being
addressed by https://gerrit.opnfv.org/gerrit/#/c/57299/ and needs to be
cherrypicked to Fraser 6.1 for inclusion in OVP 2.0.

Change-Id: I0a7575e8a9ebc23af5edaa26c1a9ce1e8149919c
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
etc/testcase/sdnvpn.tc000.yml
etc/userconfig/sdnvpn_config_tc000.yaml

index 390deb7..a717c70 100644 (file)
@@ -7,7 +7,7 @@ dovetail.sdnvpn.tc000:
     testcase: bgpvpn
     image_name: opnfv/functest-features
     pre_condition:
-      - "sed -i 's/networking_bgpvpn_tempest/networking_bgpvpn_tempest-r networking_bgpvpn_tempest.tests.api.test_bgpvpn.BgpvpnTest*/' /usr/lib/python2.7/site-packages/sdnvpn/test/functest/tempest.py"
+      - "sed -i 's/networking_bgpvpn_tempest/networking_bgpvpn_tempest.tests.api/' /usr/lib/python2.7/site-packages/sdnvpn/test/functest/run_tempest.py"
       - 'cp /home/opnfv/userconfig/pre_config/testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml'
     pre_copy:
       exist_src_file: sdnvpn_config_tc000.yaml
index 1cb4c63..80f1b5d 100644 (file)
@@ -2,6 +2,6 @@ defaults:
   flavor: m1.tiny # adapt to your environment
 
 testcases:
-  sdnvpn.test.functest.tempest:
+  sdnvpn.test.functest.run_tempest:
     enabled: true
     description: Neutron BGPVPN tests in tempest