Add wait_for_agent_status in 'settle' code

This is to guarantee that the block check didn't happen prior to the
action being started.
This commit is contained in:
Alex Kavanagh
2023-03-24 12:23:28 +00:00
parent e16406116b
commit 32f2a052b1

View File

@@ -642,6 +642,7 @@ class MySQLInnoDBClusterRotatePasswordTests(MySQLCommonTests):
# 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.