Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove app timeout #1018

Merged
merged 5 commits into from Feb 1, 2024

Conversation

yanksyoon
Copy link
Contributor

@yanksyoon yanksyoon commented Jan 27, 2024

Description

<Please add why this change is needed and what it does.>
Adds timeout parameter to model.remove_application()
Addresses #855

<Fixes: >

QA Steps

<Commands / tests / steps to run to verify that the change works:>

tox -e integration -- -k test_app_remove_timeout

All CI tests need to pass.

<Please note that most likely an additional test will be required by the reviewers for any change that's not a one liner to land.>

Notes & Discussion

<Additional notes for the reviewers if needed. Please delete section if not applicable.>

@jujubot
Copy link
Contributor

jujubot commented Jan 27, 2024

Thanks for opening a pull request! Please follow the instructions here to ensure your pull request is ready for review. Then, a maintainer will review your patch.

@hpidcock @anvial

1 similar comment
@jujubot
Copy link
Contributor

jujubot commented Jan 27, 2024

Thanks for opening a pull request! Please follow the instructions here to ensure your pull request is ready for review. Then, a maintainer will review your patch.

@hpidcock @anvial

@tlm
Copy link
Member

tlm commented Jan 30, 2024

@cderici same again :)

@tlm tlm requested a review from cderici January 30, 2024 05:57
Copy link
Member

@cderici cderici left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM. Thanks for the change ❤️The test might fail in the CI (because we're not doing the best job of handling exceptions in the asyncio event loop - and for some reason the GH actions exposes that), however, it passes for me locally. One little change in the test and we can land this safely.

tests/integration/test_application.py Outdated Show resolved Hide resolved
Co-authored-by: Caner Derici <caner.derici@canonical.com>
@cderici
Copy link
Member

cderici commented Jan 31, 2024

/build

@cderici
Copy link
Member

cderici commented Jan 31, 2024

/merge

@cderici
Copy link
Member

cderici commented Feb 1, 2024

/build

@cderici
Copy link
Member

cderici commented Feb 1, 2024

/merge

@jujubot jujubot merged commit 16149db into juju:master Feb 1, 2024
6 of 8 checks passed
@yanksyoon yanksyoon deleted the feat/remove_application_timeout branch February 1, 2024 03:01
@cderici cderici mentioned this pull request Feb 8, 2024
jujubot added a commit that referenced this pull request Feb 13, 2024
#1024

## What's Changed
* Remove paramiko upper-bound by @gboutry in #1005
* Remove explicit passing of event_loop into tests by @cderici in #1006
* chore: remove the upper restrictions on the websockets dependency by @tonyandrewmeyer in #1007
* Target ceiling version by @cderici in #1008
* Make it easier to run tests using `make` by @cderici in #1012
* Avoid installing signal handlers to the event loop by @cderici in #1014
* feat: remove app block until done by @yanksyoon in #1017
* feat: remove app timeout by @yanksyoon in #1018
* Forward port latest changes from 2.9 onto 3.x by @cderici in #1022

#### Notes & Discussion

JUJU-5414
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants