Skip to content

Commit ba39ed0

Browse files
authored
DPE-3817 Remove last unstable test flag (#415)
* remove unstable flag * extra log to detect timeout call
1 parent 2af413a commit ba39ed0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/high_availability/test_self_healing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,20 +113,23 @@ async def test_freeze_db_process(ops_test: OpsTest, continuous_writes, mysql_cha
113113
logger.info(f"Freezing process id {pid}")
114114
await ops_test.juju("ssh", primary_unit.name, "sudo", "kill", "-19", pid)
115115

116+
logger.info("Get cluster admin password")
116117
config = {
117118
"username": CLUSTER_ADMIN_USERNAME,
118119
"password": await get_system_user_password(primary_unit, CLUSTER_ADMIN_USERNAME),
119120
"host": primary_unit_ip,
120121
}
121122

122123
# verify that connection is not possible
124+
logger.info(f"Verifying that connection to host {primary_unit_ip} is not possible")
123125
assert not is_connection_possible(config), "❌ Mysqld is not paused"
124126

125127
# unfreeze (CONT signal) mysqld for the unit
126128
logger.info(f"Unfreezing process id {pid}")
127129
await ops_test.juju("ssh", primary_unit.name, "sudo", "kill", "-18", pid)
128130

129131
# verify that connection is possible
132+
logger.info(f"Verifying that connection to host {primary_unit_ip} is possible")
130133
assert is_connection_possible(config), "❌ Mysqld is paused"
131134

132135
# ensure continuous writes still incrementing for all units
@@ -306,7 +309,6 @@ async def test_replicate_data_on_restart(
306309

307310
@pytest.mark.group(1)
308311
@pytest.mark.abort_on_fail
309-
@pytest.mark.unstable
310312
async def test_cluster_pause(ops_test: OpsTest, continuous_writes, mysql_charm_series: str):
311313
"""Pause test.
312314

0 commit comments

Comments
 (0)