aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/features')
-rw-r--r--testcases/features/doctor.py4
-rw-r--r--testcases/features/promise.py3
2 files changed, 5 insertions, 2 deletions
diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py
index 5669a990..52ffaa90 100644
--- a/testcases/features/doctor.py
+++ b/testcases/features/doctor.py
@@ -63,17 +63,19 @@ def main():
}
pod_name = functest_utils.get_pod_name(logger)
scenario = functest_utils.get_scenario(logger)
+ build_tag = functest_utils.get_build_tag(logger)
logger.info("Pushing result: TEST_DB_URL=%(db)s pod_name=%(pod)s "
"scenario=%(s)s details=%(d)s" % {
'db': TEST_DB_URL,
'pod': pod_name,
's': scenario,
+ 'b': build_tag,
'd': details,
})
functest_utils.push_results_to_db(TEST_DB_URL,
'doctor','doctor-notification',
logger, pod_name, scenario,
- details)
+ build_tag, details)
if __name__ == '__main__':
diff --git a/testcases/features/promise.py b/testcases/features/promise.py
index 16b2618f..ec38ec21 100644
--- a/testcases/features/promise.py
+++ b/testcases/features/promise.py
@@ -252,6 +252,7 @@ def main():
pod_name = functest_utils.get_pod_name(logger)
installer = functest_utils.get_installer_type(logger)
scenario = functest_utils.get_scenario(logger)
+ build_tag = functest_utils.get_build_tag(logger)
git_version = functest_utils.get_git_branch(PROMISE_REPO)
url = TEST_DB + "/results"
@@ -261,7 +262,7 @@ def main():
params = {"project_name": "promise", "case_name": "promise",
"pod_name": str(pod_name), 'installer': installer,
- "version": scenario, 'details': json_results}
+ "version": scenario, "build_tag": build_tag, 'details': json_results}
headers = {'Content-Type': 'application/json'}
logger.info("Pushing results to DB...")