Show cluster status before removal

This commit is contained in:
David Ames
2021-03-02 22:44:40 +00:00
parent 135da1e1a3
commit adda372699
@@ -771,6 +771,9 @@ class MySQLInnoDBClusterScaleTest(MySQLBaseTest):
zaza.model.block_until_wl_status_info_starts_with(
self.application, "'cluster' incomplete")
# Show status
logging.info(self.get_cluster_status())
logging.info(
"Removing old unit from cluster: {} "
.format(leader_unit.public_address))
@@ -843,6 +846,9 @@ class MySQLInnoDBClusterScaleTest(MySQLBaseTest):
logging.info("Wait for status ready ...")
zaza.model.wait_for_application_states(states=self.states)
# Show status
logging.info(self.get_cluster_status())
logging.info(
"Removing old unit from cluster: {} "
.format(non_leader_unit.public_address))