diff options
author | grakiss <grakiss.wanglei@huawei.com> | 2016-01-25 09:05:03 +0800 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-25 08:25:25 +0000 |
commit | ecf539c10e8ebca05ec37467cf94b7c48ba187b5 (patch) | |
tree | f0ab71f8724661ac98dce72d45463dfa26b7ff9e /testcases/vIMS/CI/vIMS.py | |
parent | 07308b75efe511eab088510574b53d94b68ac73b (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>
(cherry picked from commit ad7a7a66e37a4cd31f46b2c753e7124ff16766ec)
Diffstat (limited to 'testcases/vIMS/CI/vIMS.py')
-rw-r--r-- | testcases/vIMS/CI/vIMS.py | 5 |
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, |