aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/features')
-rw-r--r--testcases/features/doctor.py2
-rw-r--r--testcases/features/promise.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py
index 9ca6bf618..978750b2d 100644
--- a/testcases/features/doctor.py
+++ b/testcases/features/doctor.py
@@ -60,7 +60,7 @@ def main():
}
pod_name = functest_utils.get_pod_name(logger)
scenario = functest_utils.get_scenario(logger)
- version = scenario
+ version = functest_utils.get_version(logger)
build_tag = functest_utils.get_build_tag(logger)
status = "failed"
diff --git a/testcases/features/promise.py b/testcases/features/promise.py
index 04ca87a70..72c5ecb3f 100644
--- a/testcases/features/promise.py
+++ b/testcases/features/promise.py
@@ -244,6 +244,7 @@ def main():
pod_name = functest_utils.get_pod_name(logger)
installer = functest_utils.get_installer_type(logger)
scenario = functest_utils.get_scenario(logger)
+ version = functest_utils.get_version(logger)
build_tag = functest_utils.get_build_tag(logger)
# git_version = functest_utils.get_git_branch(PROMISE_REPO)
url = TEST_DB + "/results"
@@ -259,7 +260,7 @@ def main():
params = {"project_name": "promise", "case_name": "promise",
"pod_name": str(pod_name), 'installer': installer,
- "version": scenario, "scenario": scenario,
+ "version": version, "scenario": scenario,
"criteria": status, "build_tag": build_tag,
'details': json_results}
headers = {'Content-Type': 'application/json'}