Use common wait_until_ha_router_has_state method everywhere
In the L3 functional tests framework module there is already helper
method called wait_until_ha_router_has_state which should be used to
wait for desired HA router's state.
This method has proper debug logging added so debugging issues in CI is
easier when it's used.
It is also decorated with unstable_test decorator to skip tests when
router will fail to transition to desired state (see related bug for
details).
In some tests this method wasn't used so we couldn't benefit from the
logging and unstable_test decorator there. Now it should be unifed and
used everywhere in the same way.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/848585 /opendev. org/openstack/ neutron/ commit/ e39011c73396af6 8fe5002cdbe4c6b 3fe8b7cf23
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit e39011c73396af6 8fe5002cdbe4c6b 3fe8b7cf23
Author: Slawek Kaplonski <email address hidden>
Date: Mon Jul 4 11:09:23 2022 +0200
Use common wait_until_ ha_router_ has_state method everywhere
In the L3 functional tests framework module there is already helper ha_router_ has_state which should be used to
method called wait_until_
wait for desired HA router's state.
This method has proper debug logging added so debugging issues in CI is
easier when it's used.
It is also decorated with unstable_test decorator to skip tests when
router will fail to transition to desired state (see related bug for
details).
In some tests this method wasn't used so we couldn't benefit from the
logging and unstable_test decorator there. Now it should be unifed and
used everywhere in the same way.
Related-Bug: #1956958 d327208d84a14d4 f8d2e505087
Change-Id: I9d79b123bb20de