Skip to content

Commit

Permalink
More timeout bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Nov 15, 2023
1 parent 3f53621 commit 041a27f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/integration/ha_tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ async def add_unit_with_storage(ops_test, app, storage):
return_code, _, _ = await ops_test.juju(*add_unit_cmd)
assert return_code == 0, "Failed to add unit with storage"
async with ops_test.fast_forward():
await ops_test.model.wait_for_idle(apps=[app], status="active", timeout=1000)
await ops_test.model.wait_for_idle(apps=[app], status="active", timeout=1500)
assert (
len(ops_test.model.applications[app].units) == expected_units
), "New unit not added to model"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ async def deploy_and_relate_bundle_with_postgresql(
ops_test.model.wait_for_idle(
apps=[DATABASE_APP_NAME],
status="active",
timeout=1500,
timeout=2000,
),
ops_test.model.wait_for_idle(
apps=[main_application_name],
Expand All @@ -416,7 +416,7 @@ async def deploy_and_relate_bundle_with_postgresql(
if status_message:
awaits.append(
ops_test.model.block_until(
lambda: unit.workload_status_message == status_message, timeout=1500
lambda: unit.workload_status_message == status_message, timeout=2000
)
)
await asyncio.gather(*awaits)
Expand Down

0 comments on commit 041a27f

Please sign in to comment.