summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2016-01-25 09:05:03 +0800
committergrakiss <grakiss.wanglei@huawei.com>2016-01-25 09:49:28 +0800
commitad7a7a66e37a4cd31f46b2c753e7124ff16766ec (patch)
treef0ab71f8724661ac98dce72d45463dfa26b7ff9e
parente2bf1a214b748384a8ffe45d761c39f93bc7f8e3 (diff)
FIX: args of push_result_to_db changed from git_version to version
Change-Id: I00411286d19a8e8c3f659cff8e2f6ce6f8a0ccf9 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
-rw-r--r--testcases/vIMS/CI/vIMS.py5
1 files 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,