diff --git a/tests/integration/helpers.py b/tests/integration/helpers.py index 40aaaeefa7..1ebedf68a4 100644 --- a/tests/integration/helpers.py +++ b/tests/integration/helpers.py @@ -867,7 +867,7 @@ async def scale_application(ops_test: OpsTest, application_name: str, count: int ] await ops_test.model.applications[application_name].destroy_units(*units) await ops_test.model.wait_for_idle( - apps=[application_name], status="active", timeout=1500, wait_for_exact_units=count + apps=[application_name], status="active", timeout=2000, wait_for_exact_units=count ) diff --git a/tests/integration/test_charm.py b/tests/integration/test_charm.py index 0c6ad24a1f..d2a3026a82 100644 --- a/tests/integration/test_charm.py +++ b/tests/integration/test_charm.py @@ -274,7 +274,7 @@ async def test_scale_down_and_up(ops_test: OpsTest): await ops_test.model.wait_for_idle( apps=[DATABASE_APP_NAME], status="active", - timeout=1000, + timeout=2000, wait_for_exact_units=initial_scale, )