Add additional wait_for_agent_status() check

This is to ensure that the model really is settled after the password
rotate action.
This commit is contained in:
Alex Kavanagh
2023-03-24 12:36:25 +00:00
parent b29c11720e
commit d964696f48

View File

@@ -542,6 +542,7 @@ class RmqRotateServiceUserPasswordTests(test_utils.OpenStackBaseTest):
# let everything settle.
logging.info("Waiting for model to settle.")
zaza.model.wait_for_agent_status()
zaza.model.block_until_all_units_idle()
# verify that the password has changed.