Commit Graph

3 Commits

Author SHA1 Message Date
Corey Bryant 080a715130 Retry assert after service_ips removal
Similar to when an IP has been added to the service_ips earlier
in test_configure_ips(), this adds tenacity Retrying after an
IP has been removed from the service_ips.
2023-04-18 14:13:52 -04:00
Felipe Reyes d083dde10c Retry check of service IP configured (#970)
There are scenarios where the config-changed hook can complete, yet the
service IP get configured many seconds after, because a relation-changed
hook execution needs to be triggered on the hacluster side of the
relation.

This change adds a retry to the check (10 times with a 2 seconds wait
time).

This issue was found at the gate https://review.opendev.org/c/openstack/charm-designate-bind/+/861417
2022-10-28 16:30:26 +01:00
Martin Kalcok 5d951b718d designate-bind 'service_ips' config option tests. 2021-12-14 15:20:38 +01:00