commit | 8e14049951038e006d39145b3d69da63aa394c77 | [log] [tgz] |
---|---|---|
author | Michael Johnson <johnsomor@gmail.com> | Mon Jan 31 23:18:56 2022 +0000 |
committer | Michael Johnson <johnsomor@gmail.com> | Mon Jan 31 23:25:19 2022 +0000 |
tree | cca9df40a0a5e835faa13212d14907c174de1cf6 | |
parent | 61ffae7d1628f0551e77e1a2853209ff24c1f1bb [diff] [blame] |
Fix waiters to raise on resources going to ERROR A previous patch[1] updated the wait_for_zone_404 to raise an execption when the zone goes to ERROR. This patch updates the rest of the waiters to also abort waiting if the resource goes into the ERROR status. [1] https://review.opendev.org/c/openstack/designate-tempest-plugin/+/820075 Change-Id: I5d1e549ccd75fbda518e8851430f58cfa849bd97
diff --git a/designate_tempest_plugin/common/exceptions.py b/designate_tempest_plugin/common/exceptions.py index d3f343d..27bf848 100644 --- a/designate_tempest_plugin/common/exceptions.py +++ b/designate_tempest_plugin/common/exceptions.py
@@ -15,7 +15,7 @@ class InvalidStatusError(Exception): """ - Exception raise when an entity changes to an unexpected status. + Exception raised when an entity changes to an unexpected status. """ def __init__(self, entity, entity_id, status, expected_status=None):