From 7d01bd9eb84ba3f5c87e971d7faa734f07c9b2da Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Thu, 11 Feb 2016 11:29:51 +0100 Subject: Add project in push_to_db function of functests utils to allow external project onboarded in Functest to push their results Change-Id: I3a065e6ce82b1a87bbd07810f13df7d146655933 Signed-off-by: Morgan Richomme (cherry picked from commit 9812bf270c6ef1a5f0582bd8be3c5a3776e73960) --- testcases/Controllers/ODL/CI/odlreport2db.py | 1 + testcases/Controllers/ONOS/Teston/CI/onosfunctest.py | 1 + 2 files changed, 2 insertions(+) (limited to 'testcases/Controllers') diff --git a/testcases/Controllers/ODL/CI/odlreport2db.py b/testcases/Controllers/ODL/CI/odlreport2db.py index 1538f79cf..47067963a 100644 --- a/testcases/Controllers/ODL/CI/odlreport2db.py +++ b/testcases/Controllers/ODL/CI/odlreport2db.py @@ -130,6 +130,7 @@ def main(argv): # -p opnfv-jump-2 # -s os-odl_l2-ha functest_utils.push_results_to_db(database, + "functest", data['case_name'], None, data['pod_name'], diff --git a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py index bf031cb47..dc45088b3 100644 --- a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py +++ b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py @@ -182,6 +182,7 @@ def main(): pod_name = functest_utils.get_pod_name(logger) result = GetResult() functest_utils.push_results_to_db(TEST_DB, + "functest", "ONOS", logger, pod_name, scenario, payload=result) -- cgit 1.2.3-korg