Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/integration/ha_tests/test_async_replication.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,11 @@ async def test_async_replication_failover_in_main_cluster(
async with ops_test.fast_forward(FAST_INTERVAL), fast_forward(second_model, FAST_INTERVAL):
await gather(
first_model.wait_for_idle(
apps=[DATABASE_APP_NAME], status="active", idle_period=IDLE_PERIOD, timeout=TIMEOUT
apps=[DATABASE_APP_NAME],
status="active",
idle_period=IDLE_PERIOD,
timeout=TIMEOUT,
wait_for_exact_units=(CLUSTER_SIZE - 1),
),
second_model.wait_for_idle(
apps=[DATABASE_APP_NAME], status="active", idle_period=IDLE_PERIOD, timeout=TIMEOUT
Expand Down