Skip to content

Commit d0d956a

Browse files
committed
Wait for model to idle
1 parent ba1a260 commit d0d956a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration/ha_tests/test_async_replication.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,11 @@ async def test_data_integrator_creds_keep_on_working(
324324

325325
async with ops_test.fast_forward():
326326
await sleep(20)
327+
second_model.wait_for_idle(
328+
apps=[DATABASE_APP_NAME],
329+
status="active",
330+
timeout=TIMEOUT,
331+
)
327332
try:
328333
with psycopg2.connect(connstr) as connection:
329334
assert False

0 commit comments

Comments
 (0)