After a config change in which the workload message already matches
what is expected, the units may not yet be idle or worse they are in
an error state and d.wait_for_messages will wait the full timeout
value.
Amulet provides three different checks d.wait checks for idleness,
d.wait_for_status checks for active workload status and
d.wait_for_messages confirms the workload message matches
expectations.
This change adds to the OS _auto_wait_for_status all of these in order
to ensure ready state before inspecting the environment. This change
should also avoid situations where a unit is in error state and amulet
waits the full timeout values before exiting.
Finally, add an _auto_wait_for_status to
keystone_configure_api_version to ensure it is ready to inspect
propagation and address Bug#1668954.
Partial-Bug: #1668954
797b2fc...
by
Alex Kavanagh <email address hidden>
Enable the repo: line for charm-helpers sync to take a branch (#48)
This change enables the repo line for a git sync to take a branch
in the form of: