Skip to content

Commit

Permalink
update etcd through force_update_status(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Jul 11, 2024
1 parent 8c5328b commit 5925892
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions jobs/integration/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1701,12 +1701,7 @@ async def test_init_vault(self, model: Model):
# update-status hook or two before the unit status is accurate. We
# can hurry that along a bit, however.
log.info("Poking etcd to refresh status")
await asyncio.gather(
*(
juju_run(unit, "hooks/update-status", check=False)
for unit in self.etcd_app.units
)
)
await self.force_update_status(self.etcd_app)

await self.ensure_vault_up()
await self.force_update_status(self.vault_app)
Expand Down

0 comments on commit 5925892

Please sign in to comment.