From eac5857502dfad79c9eaa735b88bd07f60fd537c Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 28 Sep 2017 02:28:51 -0400 Subject: Bugfix: sdnvpn test cases failed due to wrong module name SDNVPN test cases failed due to wrong module name. The module name needs to be changed into "sdnvpn.test.functest.testcase_1" Refer to patch https://gerrit.opnfv.org/gerrit/#/c/41385/ Currently Dovetail uses functest:cvp.0.5.0 which uses module name "testcase_1". JIRA: DOVETAIL-510 Change-Id: I3232760d3af34125c7da71a5d2c62ca32693c82b Signed-off-by: xudan --- dovetail/testcase/sdnvpn.tc001.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dovetail/testcase/sdnvpn.tc001.yml') diff --git a/dovetail/testcase/sdnvpn.tc001.yml b/dovetail/testcase/sdnvpn.tc001.yml index 9ab3d445..786892be 100644 --- a/dovetail/testcase/sdnvpn.tc001.yml +++ b/dovetail/testcase/sdnvpn.tc001.yml @@ -5,6 +5,9 @@ dovetail.sdnvpn.tc001: validate: type: functest testcase: bgpvpn + pre_condition: + - "sed -i 's/testcase_1/sdnvpn.test.functest.testcase_1/' /usr/local/lib/python2.7/dist-packages/sdnvpn/test/functest/testcase_1.py" + - "sed -i 's/run_sdnvpn_tests.py/run_sdnvpn_tests.py -r/' /usr/local/lib/python2.7/dist-packages/functest/ci/testcases.yaml" pre_copy: exist_src_file: sdnvpn_config_testcase1.yaml dest_path: /usr/local/lib/python2.7/dist-packages/sdnvpn/test/functest/config.yaml -- cgit 1.2.3-korg