Skip to content

Commit

Permalink
more reasonable timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdelapuente committed Jan 29, 2025
1 parent 147313e commit 0c3f50c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ async def app_no_runner(
) -> AsyncIterator[Application]:
"""Application with no runner."""
await basic_app.set_config({VIRTUAL_MACHINES_CONFIG_NAME: "0"})
await model.wait_for_idle(apps=[basic_app.name], status=ACTIVE, timeout=90 * 60)
await model.wait_for_idle(apps=[basic_app.name], status=ACTIVE, timeout=20 * 60)
yield basic_app


Expand Down Expand Up @@ -402,7 +402,7 @@ async def app_openstack_runner_fixture(
)
await model.integrate(f"{image_builder.name}:image", f"{application.name}:image")
await model.wait_for_idle(
apps=[application.name, image_builder.name], status=ACTIVE, timeout=90 * 60
apps=[application.name, image_builder.name], status=ACTIVE, timeout=20 * 60
)

return application
Expand All @@ -417,7 +417,7 @@ async def app_scheduled_events_fixture(
application = app_openstack_runner
await application.set_config({"reconcile-interval": "8"})
await application.set_config({VIRTUAL_MACHINES_CONFIG_NAME: "1"})
await model.wait_for_idle(apps=[application.name], status=ACTIVE, timeout=90 * 60)
await model.wait_for_idle(apps=[application.name], status=ACTIVE, timeout=20 * 60)
await reconcile(app=application, model=model)
return application

Expand Down

0 comments on commit 0c3f50c

Please sign in to comment.