aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2018-08-28 11:55:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-08-28 11:55:50 +0000
commit8ca772c7ae1d477d072cef3ec43144a2a6812334 (patch)
tree2f991265a02f91d8993049018a6dd625109843da
parent3b5a537a6ababd5d6a7157157ae4108ed21075c4 (diff)
parent27c51046bf4e33a13e22c074953640d2c746cf4d (diff)
Merge "Protect vs TypeErrors when cleaning stacks"
-rw-r--r--functest/opnfv_tests/vnf/ims/heat_ims.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/functest/opnfv_tests/vnf/ims/heat_ims.py b/functest/opnfv_tests/vnf/ims/heat_ims.py
index 7ad1e96bf..3d32b889d 100644
--- a/functest/opnfv_tests/vnf/ims/heat_ims.py
+++ b/functest/opnfv_tests/vnf/ims/heat_ims.py
@@ -217,6 +217,9 @@ class HeatIms(singlevm.VmReady2):
try:
if self.stack:
self.cloud.delete_stack(self.stack.id, wait=True)
+ except TypeError:
+ # shade raises TypeError exceptions when checking stack status
+ pass
except Exception: # pylint: disable=broad-except
self.__logger.exception("Cannot clean stack ressources")
super(HeatIms, self).clean()