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
committervalentin boucher <valentin.boucher@orange.com>2016-01-29 10:26:47 +0000
commit88b5022795d071a3607133bf534bf5d43d1c9514 (patch)
treefb5155eb3b8822330ce61ad2dfe8c37abd372977 /testcases/vIMS/CI/clearwater.py
parent320f9f42da31e25a41e9b7fad467394a1179a06c (diff)
Add some error result in result db api
Change-Id: I1c5f9bc51c04e321ace8c0ee0312be28d321910f Signed-off-by: boucherv <valentin.boucher@orange.com> (cherry picked from commit 9ec86196a8e96fea966beef08c01b9c9822a9bc4)
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 d2d189f60..364de68f4 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...")