diff --git a/magnum_tempest_plugin/tests/api/v1/clients/cluster_client.py b/magnum_tempest_plugin/tests/api/v1/clients/cluster_client.py index 77066ea..786e628 100755 --- a/magnum_tempest_plugin/tests/api/v1/clients/cluster_client.py +++ b/magnum_tempest_plugin/tests/api/v1/clients/cluster_client.py @@ -171,4 +171,9 @@ class ClusterClient(client.MagnumClient): except exceptions.NotFound: self.LOG.warning('Cluster %s is not found.', cluster_id) return True + except exceptions.BadRequest: + self.LOG.warning('Cluster %s returned a bad state. Assuming ' + 'temporary failure and the cluster still exists.', + cluster_id) + return False return False