From 014a4b881926cd66d845c1850eb3df174d49e25e Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Thu, 14 Jul 2016 13:40:35 +0200 Subject: 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 --- test/functest/config.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/functest/config.yaml') 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 -- cgit 1.2.3-korg