File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
tests/integration/ha_tests Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ async def test_deploy_zero_units(ops_test: OpsTest):
598
598
# Scale the database to one unit.
599
599
logger .info ("scaling database to one unit" )
600
600
await add_unit_with_storage (ops_test , app = app , storage = primary_storage )
601
- await ops_test .model .wait_for_idle (status = "active" , timeout = 3000 )
601
+ await ops_test .model .wait_for_idle (status = "active" , timeout = 1500 )
602
602
603
603
connection_string , primary_name = await get_db_connection (ops_test , dbname = dbname )
604
604
logger .info ("checking whether writes are increasing" )
@@ -610,7 +610,6 @@ async def test_deploy_zero_units(ops_test: OpsTest):
610
610
# Scale the database to three units.
611
611
logger .info ("scaling database to two unit" )
612
612
await scale_application (ops_test , application_name = app , count = 2 )
613
- await ops_test .model .wait_for_idle (status = "active" , timeout = 3000 )
614
613
for unit in ops_test .model .applications [app ].units :
615
614
if not await unit .is_leader_from_status ():
616
615
assert await reused_replica_storage (
You can’t perform that action at this time.
0 commit comments