aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/vIMS/CI
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2015-10-30 11:06:24 +0100
committerboucherv <valentin.boucher@orange.com>2015-10-30 11:06:24 +0100
commitcfd3b1c6460cfc2ac02fbe9625162b428cc50b21 (patch)
tree805e4bf40388c7942705f188314b9914011188af /testcases/vIMS/CI
parent34fb580d2a2df0a3e41bc45865a6dfb35bdc9244 (diff)
Updated vIMS result format
JIRA: FUNCTEST-38 Change-Id: I0b3633d4b377ca3b9824719d517ae35b20b4e1bf Signed-off-by: boucherv <valentin.boucher@orange.com>
Diffstat (limited to 'testcases/vIMS/CI')
-rw-r--r--testcases/vIMS/CI/vIMS.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/testcases/vIMS/CI/vIMS.py b/testcases/vIMS/CI/vIMS.py
index 05bd0c51b..124265c21 100644
--- a/testcases/vIMS/CI/vIMS.py
+++ b/testcases/vIMS/CI/vIMS.py
@@ -337,7 +337,7 @@ def undeploy_clearwater():
def test_clearwater():
- time.sleep(120)
+ time.sleep(180)
script = "source " + VIMS_DATA_DIR + "venv_cloudify/bin/activate; "
script += "cd " + VIMS_DATA_DIR + "; "
@@ -386,12 +386,15 @@ def test_clearwater():
logger.error("Unable to retrieve test results")
if vims_test_result != "":
+ logger.debug("Pushing results to DB....")
git_version = functest_utils.get_git_branch(args.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,
- payload={'orchestrator_deployment_duration': CFY_DEPLOYMENT_DURATION,
- 'VNF_deployment_duration': CW_DEPLOYMENT_DURATION,
- 'functional_test': {'duration': duration,
+ payload={'orchestrator':{'duration': CFY_DEPLOYMENT_DURATION,
+ 'result': ""},
+ 'vIMS': {'duration': CW_DEPLOYMENT_DURATION,
+ 'result': ""}
+ 'sig_test': {'duration': duration,
'result': vims_test_result}})
try:
os.remove(VIMS_TEST_DIR + "temp.json")