Skip to content

Commit

Permalink
remove retry_hook method
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Jul 11, 2024
1 parent 11c80ff commit 8c5328b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions jobs/integration/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1609,17 +1609,6 @@ async def get_leader(app: Application):
return idx


async def retry_hook(unit):
# Until https://github.com/juju/python-libjuju/issues/484 is fixed, we
# have to do this manually.
from juju.client import client

app_facade = client.ApplicationFacade.from_connection(unit.connection)
await app_facade.ResolveUnitErrors(
all_=False, retry=True, tags={"entities": [{"tag": unit.tag}]}
)


@pytest.mark.skip_arch(["aarch64"])
@pytest.mark.on_model("validate-vault")
class TestEncryptionAtRest:
Expand Down

0 comments on commit 8c5328b

Please sign in to comment.