Skip to content

[Feature]: remove_application support timeout and status output #855

@beliaev-maksim

Description

@beliaev-maksim

Description

We have a test where we want to remove the app and deploy another one

However, juju for unrelated to this lib reason cannot effectively remove the app and apps stays in terminated state (I assume)
and our CI test hangs for 6h until GitHub kills the runner.

would be great if remove_application would support timeout argument (similar to wait_for_idle)
and if it will print into STDOUT status of the app/unit that was requested to terminate (similar to wait_for_idle but only for this app)

Urgency

It would save from a weird workaround

Code I'd Like to Run

await ops_test.model.remove_application(APP_NAME, block_until_done=True, timeout=600)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions