summaryrefslogtreecommitdiffstats
path: root/test/functest/config.yaml
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-07-14 13:40:35 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-07-14 15:57:30 +0200
commit014a4b881926cd66d845c1850eb3df174d49e25e (patch)
tree62f6f2e6faceb831c8e25c87d1796768d330b448 /test/functest/config.yaml
parent95252994f4b1ff4369c49ce4ef024469d8b6df7d (diff)
Add support to push the results to the DB
JIRA: SDNVPN-19 The test scripts now return a json object with the following format: {"status": criteria, "details": results} where criteria: "PASS"|"FAILED" (result of the test case) details: free output that will be printed to the console and pushed to the DB Change-Id: I9e5e0c3b6cb5f4b060929b71a06f6e4f95f814fb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'test/functest/config.yaml')
-rw-r--r--test/functest/config.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/functest/config.yaml b/test/functest/config.yaml
index 83564c4..521b517 100644
--- a/test/functest/config.yaml
+++ b/test/functest/config.yaml
@@ -2,10 +2,15 @@ testcases:
tempest:
enabled: true
description: Neutron BGPVPN tests in tempest
+ succes_criteria: 100 # all the subtests must pass
+ testname_db: functest_tempest # declared name in the test api
+ # http://testresults.opnfv.org/test/api/v1/projects/sdnvpn/cases
testcase_1:
enabled: true
description: VPN provides connectivity between subnets
+ succes_criteria: 75 # we let fail 25% of the subtests
+ testname_db: functest_testcase_1
ping_timeout: 200
flavor: m1.tiny # adapt to your environment
instance_1_name: sdnvpn-1-1
@@ -24,10 +29,14 @@ testcases:
router_2_name: sdnvpn-1-2-router
sdnvpn_sg_name: sdnvpn-sg
sdnvpn_sg_descr: Security group for SDNVPN test cases
+ targets1: '88:88'
+ targets2: '55:55'
testcase_2:
enabled: true
description: Tenant separation
+ succes_criteria: 100 # all the subtests must pass
+ testname_db: functest_testcase_2
ping_timeout: 200
flavor: m1.tiny # adapt to your environment
instance_1_name: sdnvpn-2-1
@@ -50,8 +59,12 @@ testcases:
router_2_name: sdnvpn-2-2-router
sdnvpn_sg_name: sdnvpn-sg
sdnvpn_sg_descr: Security group for SDNVPN test cases
+ targets1: '88:88'
+ targets2: '55:55'
testcase_3:
enabled: false
description: Data center gateway integration
+ succes_criteria: 100 # all the subtests must pass
+ testname_db: functest_testcase_3