Use the env variable NODE_NAME for pod_name 41/6641/1
authorgrakiss <grakiss.wanglei@huawei.com>
Thu, 14 Jan 2016 03:13:00 +0000 (11:13 +0800)
committerMorgan Richomme <morgan.richomme@orange.com>
Thu, 14 Jan 2016 08:05:52 +0000 (08:05 +0000)
Change-Id: I0fd5011dc918ada73cac4f74d80d118826cff1a6
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
(cherry picked from commit be82377136344bf544aedee959674e9252c9b527)

testcases/vIMS/CI/vIMS.py

index d2b6567..7a2d197 100644 (file)
@@ -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,