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

tests: Ensure runner is killed in failure case #126

Merged
merged 1 commit into from Feb 23, 2023

Conversation

bdrung
Copy link
Collaborator

@bdrung bdrung commented Feb 21, 2023

If the unkillable shutdown test cases fail, the _run_test_executable runner might continue running. Ensure that the runner and the test process is killed in all cases.

If the unkillable shutdown test cases fail, the `_run_test_executable`
runner might continue running. Ensure that the runner and the test
process is killed in all cases.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
@codecov
Copy link

codecov bot commented Feb 21, 2023

Codecov Report

Merging #126 (6a96da2) into main (99c6904) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #126   +/-   ##
=======================================
  Coverage   81.74%   81.75%           
=======================================
  Files          85       85           
  Lines       17923    17925    +2     
=======================================
+ Hits        14652    14654    +2     
  Misses       3271     3271           
Impacted Files Coverage Δ
tests/system/test_unkillable_shutdown.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@schopin-pro schopin-pro merged commit 3cfd717 into canonical:main Feb 23, 2023
@bdrung bdrung deleted the kill branch February 23, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants