From d964696f48763bc4e2b287163e24508c79a81fc0 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Fri, 24 Mar 2023 12:36:25 +0000 Subject: [PATCH] Add additional wait_for_agent_status() check This is to ensure that the model really is settled after the password rotate action. --- zaza/openstack/charm_tests/rabbitmq_server/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zaza/openstack/charm_tests/rabbitmq_server/tests.py b/zaza/openstack/charm_tests/rabbitmq_server/tests.py index b181519..91aa041 100644 --- a/zaza/openstack/charm_tests/rabbitmq_server/tests.py +++ b/zaza/openstack/charm_tests/rabbitmq_server/tests.py @@ -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.