summaryrefslogtreecommitdiffstats
path: root/testcases/vIMS/CI/clearwater.py
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2016-01-29 10:26:39 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-29 10:26:39 +0000
commit297b6554f4799e94043bc92b8786cf20da63bf8c (patch)
treefb5155eb3b8822330ce61ad2dfe8c37abd372977 /testcases/vIMS/CI/clearwater.py
parent52c69c3bbe7a0aef6b12782eebe794d5bc4aafde (diff)
parent9ec86196a8e96fea966beef08c01b9c9822a9bc4 (diff)
Merge "Add some error result in result db api"
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...")