From ecf539c10e8ebca05ec37467cf94b7c48ba187b5 Mon Sep 17 00:00:00 2001 From: grakiss Date: Mon, 25 Jan 2016 09:05:03 +0800 Subject: [PATCH] FIX: args of push_result_to_db changed from git_version to version Change-Id: I00411286d19a8e8c3f659cff8e2f6ce6f8a0ccf9 Signed-off-by: grakiss (cherry picked from commit ad7a7a66e37a4cd31f46b2c753e7124ff16766ec) --- testcases/vIMS/CI/vIMS.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testcases/vIMS/CI/vIMS.py b/testcases/vIMS/CI/vIMS.py index eae821ad4..bc15676e5 100644 --- a/testcases/vIMS/CI/vIMS.py +++ b/testcases/vIMS/CI/vIMS.py @@ -177,9 +177,10 @@ def test_clearwater(): if args.report: logger.debug("Push result into DB") logger.debug("Pushing results to DB....") - git_version = functest_utils.get_git_branch(REPO_PATH) + scenario = functest_utils.get_scenario(logger) functest_utils.push_results_to_db(db_url=TEST_DB, case_name="vIMS", - logger=logger, pod_name=functest_utils.get_pod_name(logger), git_version=git_version, + logger=logger, pod_name=functest_utils.get_pod_name(logger), + version=scenario, payload={'orchestrator': {'duration': CFY_DEPLOYMENT_DURATION, 'result': ""}, 'vIMS': {'duration': CW_DEPLOYMENT_DURATION, -- 2.16.6