Skip to content

Commit f665492

Browse files
committed
Ignore blocked
1 parent 897c4e8 commit f665492

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/integration/ha_tests/test_async_replication.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -303,15 +303,11 @@ async def test_promote_standby(
303303
await ops_test.model.applications[DATABASE_APP_NAME].remove_relation(
304304
"database", f"{APPLICATION_NAME}:{FIRST_DATABASE_RELATION_NAME}"
305305
)
306-
await ops_test.model.wait_for_idle(
307-
apps=[DATABASE_APP_NAME, APPLICATION_NAME], status="active", raise_on_blocked=True
308-
)
306+
await ops_test.model.wait_for_idle(apps=[DATABASE_APP_NAME, APPLICATION_NAME], status="active")
309307
await ops_test.model.relate(
310308
DATABASE_APP_NAME, f"{APPLICATION_NAME}:{FIRST_DATABASE_RELATION_NAME}"
311309
)
312-
await ops_test.model.wait_for_idle(
313-
apps=[DATABASE_APP_NAME, APPLICATION_NAME], status="active", raise_on_blocked=True
314-
)
310+
await ops_test.model.wait_for_idle(apps=[DATABASE_APP_NAME, APPLICATION_NAME], status="active")
315311

316312
logger.info("removing the previous data")
317313
await clear_continuous_writes(ops_test)

0 commit comments

Comments
 (0)