diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-04-22 11:18:36 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-04-22 13:55:19 +0200 |
commit | ade54b8ec63fc674cfd7d7e0a893b7e34f6b44b1 (patch) | |
tree | 6e3cd547ecba1cb1ab3a9d90ad08209291b49cc9 /testcases/VIM/OpenStack | |
parent | e452376fbc44df9cf0688571e1882498f456f3a4 (diff) |
Affect version field in results for all the testcases
Previously version was scenario
JIRA: FUNCTEST-225
Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/VIM/OpenStack')
-rwxr-xr-x | testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py | 3 | ||||
-rw-r--r-- | testcases/VIM/OpenStack/CI/libraries/run_tempest.py | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py b/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py index 6e625ce5..41c359cc 100755 --- a/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py +++ b/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py @@ -136,8 +136,7 @@ def push_results_to_db(case, payload, criteria): url = TEST_DB + "/results" installer = functest_utils.get_installer_type(logger) scenario = functest_utils.get_scenario(logger) - # Until we found a way to manage version, use scenario - version = scenario + version = functest_utils.get_version(logger) pod_name = functest_utils.get_pod_name(logger) # evalutate success criteria diff --git a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py index 9d8b7be8..b2240c9c 100644 --- a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py +++ b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py @@ -129,13 +129,14 @@ def push_results_to_db(case, payload, criteria): url = TEST_DB + "/results" installer = functest_utils.get_installer_type(logger) scenario = functest_utils.get_scenario(logger) + version = functest_utils.get_version(logger) pod_name = functest_utils.get_pod_name(logger) logger.info("Pushing results to DB: '%s'." % url) params = {"project_name": "functest", "case_name": case, "pod_name": str(pod_name), 'installer': installer, - "version": scenario, "scenario": scenario, "criteria": criteria, + "version": version, "scenario": scenario, "criteria": criteria, 'details': payload} headers = {'Content-Type': 'application/json'} |