Skip to content

Commit

Permalink
Wait for model to idle
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Jun 24, 2024
1 parent ba1a260 commit d0d956a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/integration/ha_tests/test_async_replication.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,11 @@ async def test_data_integrator_creds_keep_on_working(

async with ops_test.fast_forward():
await sleep(20)
second_model.wait_for_idle(
apps=[DATABASE_APP_NAME],
status="active",
timeout=TIMEOUT,
)
try:
with psycopg2.connect(connstr) as connection:
assert False
Expand Down

0 comments on commit d0d956a

Please sign in to comment.