linux-system-roles / storage

Ansible role for linux storage management
https://linux-system-roles.github.io/storage/
MIT License
99 stars 55 forks source link

test: Ensure lvm pool shared test cleanup #415

Closed richm closed 6 months ago

richm commented 6 months ago

Save and restore lvm.conf

Put the test in a block, and put all of the cleanup in always.

Signed-off-by: Rich Megginson rmeggins@redhat.com

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (90bbfa7) 13.30% compared to head (f372923) 13.30%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #415 +/- ## ======================================= Coverage 13.30% 13.30% ======================================= Files 8 8 Lines 1781 1781 Branches 79 79 ======================================= Hits 237 237 Misses 1544 1544 ``` | [Flag](https://app.codecov.io/gh/linux-system-roles/storage/pull/415/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles) | Coverage Δ | | |---|---|---| | [sanity](https://app.codecov.io/gh/linux-system-roles/storage/pull/415/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles) | `16.54% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.