aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/vIMS/CI/clearwater.py
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2016-01-28 16:30:47 +0100
committerboucherv <valentin.boucher@orange.com>2016-01-29 11:22:03 +0100
commit9ec86196a8e96fea966beef08c01b9c9822a9bc4 (patch)
treee4b46d4e8c851d6716ae4ecf7c4ac75d106b0e99 /testcases/vIMS/CI/clearwater.py
parent2e8ecc1b2b2e16a3dc8d9bf1689dfcbb96c3e391 (diff)
Add some error result in result db api
Change-Id: I1c5f9bc51c04e321ace8c0ee0312be28d321910f Signed-off-by: boucherv <valentin.boucher@orange.com>
Diffstat (limited to 'testcases/vIMS/CI/clearwater.py')
-rw-r--r--testcases/vIMS/CI/clearwater.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/testcases/vIMS/CI/clearwater.py b/testcases/vIMS/CI/clearwater.py
index d2d189f6..364de68f 100644
--- a/testcases/vIMS/CI/clearwater.py
+++ b/testcases/vIMS/CI/clearwater.py
@@ -43,9 +43,13 @@ class clearwater:
def deploy_vnf(self, blueprint, bp_name='clearwater', dep_name='clearwater-opnfv'):
if self.orchestrator:
self.dep_name = dep_name
- self.orchestrator.download_upload_and_deploy_blueprint(
+ error = self.orchestrator.download_upload_and_deploy_blueprint(
blueprint, self.config, bp_name, dep_name)
+ if error:
+ return error
+
self.deploy = True
+
else:
if self.logger:
logger.error("Cloudify manager is down or not provide...")