From 3e0b65071fb5b4d9c98e37171d3e3fbdf7215f1f Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Wed, 10 Jul 2024 22:29:29 -0500 Subject: [PATCH] update etcd through force_update_status(...) --- jobs/integration/validation.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/jobs/integration/validation.py b/jobs/integration/validation.py index eab0b0885..7cc1bb797 100644 --- a/jobs/integration/validation.py +++ b/jobs/integration/validation.py @@ -1745,12 +1745,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)