Skip to content

Commit df4f486

Browse files
committed
handle error: storage belongs to different cluster
1 parent 2918860 commit df4f486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/ha_tests/test_self_healing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ async def test_deploy_zero_units(ops_test: OpsTest, charm):
615615
# Scale up to one unit.
616616
logger.info("scaling database to one unit")
617617
await add_unit_with_storage(ops_test, app=app, storage=primary_storage)
618-
await ops_test.model.wait_for_idle(status="active", timeout=1500)
618+
await ops_test.model.wait_for_idle(apps=[APP_NAME, APPLICATION_NAME], status="active", timeout=1500)
619619

620620
logger.info("scaling database to tow unit using foreign cluster's storage")
621621
new_unit = await add_unit_with_storage(ops_test, app=app, storage=second_storage)

0 commit comments

Comments
 (0)