aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2016-01-14 11:13:00 +0800
committergrakiss <grakiss.wanglei@huawei.com>2016-01-14 11:13:46 +0800
commitbe82377136344bf544aedee959674e9252c9b527 (patch)
tree01a38d344953b1abfc2ebb4618e7d1fd2c421f77
parent3a64a2e319733be2898c43cec7547b344a8518e0 (diff)
Use the env variable NODE_NAME for pod_name
Change-Id: I0fd5011dc918ada73cac4f74d80d118826cff1a6 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
-rw-r--r--testcases/vIMS/CI/vIMS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/vIMS/CI/vIMS.py b/testcases/vIMS/CI/vIMS.py
index d2b6567d8..7a2d1979a 100644
--- a/testcases/vIMS/CI/vIMS.py
+++ b/testcases/vIMS/CI/vIMS.py
@@ -179,7 +179,7 @@ def test_clearwater():
logger.debug("Pushing results to DB....")
git_version = functest_utils.get_git_branch(REPO_PATH)
functest_utils.push_results_to_db(db_url=TEST_DB, case_name="vIMS",
- logger=logger, pod_name="opnfv-jump-2", git_version=git_version,
+ logger=logger, pod_name=functest_utils.get_pod_name(logger), git_version=git_version,
payload={'orchestrator': {'duration': CFY_DEPLOYMENT_DURATION,
'result': ""},
'vIMS': {'duration': CW_DEPLOYMENT_DURATION,