summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2018-05-09 10:27:51 +0200
committerDan Xu <xudan16@huawei.com>2018-05-11 07:41:27 +0000
commit931c730ff814959c16f07405ba98ca5158c8f326 (patch)
tree816ad975b8175f8ebd03f43e0af7b5029afb7d04
parent191f86a9713b857e9d3047a972fa6f8c8aca6c59 (diff)
Fixing SDNVPN tempest API tests
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>
-rw-r--r--etc/testcase/sdnvpn.tc000.yml2
-rw-r--r--etc/userconfig/sdnvpn_config_tc000.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/testcase/sdnvpn.tc000.yml b/etc/testcase/sdnvpn.tc000.yml
index 390deb72..a717c705 100644
--- a/etc/testcase/sdnvpn.tc000.yml
+++ b/etc/testcase/sdnvpn.tc000.yml
@@ -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
diff --git a/etc/userconfig/sdnvpn_config_tc000.yaml b/etc/userconfig/sdnvpn_config_tc000.yaml
index 1cb4c63f..80f1b5d9 100644
--- a/etc/userconfig/sdnvpn_config_tc000.yaml
+++ b/etc/userconfig/sdnvpn_config_tc000.yaml
@@ -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