aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries/run_rally.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-11-30 09:39:54 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2015-11-30 14:53:03 +0100
commit8c358c29b07ad126614c1c327d2d95f517d793f4 (patch)
treea765c94bf35fd78127a85d59ae8d938ca525a6ff /testcases/VIM/OpenStack/CI/libraries/run_rally.py
parent0045f29f59ee5c800261cd77145fec0e9558740f (diff)
Add functions to retrieve POD name in Functest
JIRA: FUNCTEST-108 Change-Id: I3453933e12cd7af9b06f50b327873f7516609566 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/VIM/OpenStack/CI/libraries/run_rally.py')
-rw-r--r--testcases/VIM/OpenStack/CI/libraries/run_rally.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_rally.py b/testcases/VIM/OpenStack/CI/libraries/run_rally.py
index 2d45112a8..bd9ce8ea8 100644
--- a/testcases/VIM/OpenStack/CI/libraries/run_rally.py
+++ b/testcases/VIM/OpenStack/CI/libraries/run_rally.py
@@ -89,9 +89,10 @@ def push_results_to_db(payload):
url = TEST_DB + "/results"
installer = functest_utils.get_installer_type(logger)
git_version = functest_utils.get_git_branch(args.repo_path)
+ pod_name = functest_utils.get_pod_name(logger)
# TODO pod_name hardcoded, info shall come from Jenkins
params = {"project_name": "functest", "case_name": "Rally",
- "pod_name": "opnfv-jump-2", "installer": installer,
+ "pod_name": pod_name, "installer": installer,
"version": git_version, "details": payload}
headers = {'Content-Type': 'application/json'}