summaryrefslogtreecommitdiffstats
path: root/etc/testcase/sdnvpn.tc002.yml
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2018-03-14 03:58:07 -0400
committerGeorg Kunz <georg.kunz@ericsson.com>2018-03-15 08:16:16 +0000
commitb2c513d028451cc142e1647bf749f245020bf15b (patch)
tree772f4020b22408a80121e7e39d36898433dd0345 /etc/testcase/sdnvpn.tc002.yml
parent6de223dad312a4fac4a410fc4a4a21f457c06f27 (diff)
Disable restricts of sdnvpn test cases
1. The original testcases.yaml file of Functest restricts sdnvpn test cases to run on Fuel, Apex or Netvirt on bgpvpn scenario. https://github.com/opnfv/functest/blob/master/functest/ci/testcases.yaml#L278 2. Dovetail has a testcases.yaml file to allow sdnvpn test cases run on any commercial SUTs. https://github.com/opnfv/dovetail/blob/master/etc/userconfig/testcases.yaml#L113 Change-Id: I0d5ed5b22e55dc3dc0fe584dc57b28239334b7de Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'etc/testcase/sdnvpn.tc002.yml')
-rw-r--r--etc/testcase/sdnvpn.tc002.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/testcase/sdnvpn.tc002.yml b/etc/testcase/sdnvpn.tc002.yml
index 4823ee55..70926c4c 100644
--- a/etc/testcase/sdnvpn.tc002.yml
+++ b/etc/testcase/sdnvpn.tc002.yml
@@ -5,6 +5,8 @@ dovetail.sdnvpn.tc002:
validate:
type: functest
testcase: bgpvpn
+ pre_condition:
+ - 'cp /home/opnfv/userconfig/pre_config/testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml'
pre_copy:
exist_src_file: sdnvpn_config_testcase2.yaml
dest_path: /usr/lib/python2.7/site-packages/sdnvpn/test/functest/config.yaml