We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ecb80 commit be0b7daCopy full SHA for be0b7da
tests/integration/ha_tests/test_self_healing.py
@@ -589,13 +589,13 @@ async def test_deploy_zero_units(ops_test: OpsTest):
589
unit_ip_addresses.append(await get_unit_ip(ops_test, unit.name))
590
591
# Save detached storage ID
592
- if await unit.is_leader_from_status:
+ if await unit.is_leader_from_status():
593
primary_storage = storage_id(ops_test, unit.name)
594
595
logger.info(f"get storage id app: {SECOND_APPLICATION}")
596
second_storage = ""
597
for unit in ops_test.model.applications[SECOND_APPLICATION].units:
598
599
second_storage = storage_id(ops_test, unit.name)
600
break
601
0 commit comments