test: refactor test setup to add device info#617
test: refactor test setup to add device info#617richm wants to merge 2 commits intolinux-system-roles:mainfrom
Conversation
Reviewer's GuideRefactors storage-related Ansible tests to use a new shared tests/tasks/setup.yml that centralizes role prep, package fact gathering, distribution flags, unused-disk discovery, and device diagnostics, replacing duplicated setup logic in each test and updating calls to the disk discovery helper. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #617 +/- ##
==========================================
- Coverage 16.54% 10.16% -6.39%
==========================================
Files 2 9 +7
Lines 284 2056 +1772
Branches 79 0 -79
==========================================
+ Hits 47 209 +162
- Misses 237 1847 +1610
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
[citest] |
Refactor the tests so that we can have a common tests/tasks/setup.yml to handle common setup tasks as well as print some diagnostic information before each test run to see if we can solve some of these test flakes. Signed-off-by: Rich Megginson <[email protected]>
388395f to
6c0c2f3
Compare
|
[citest] |
|
[citest] |
1 similar comment
|
[citest] |
Refactor the tests so that we can have a common tests/tasks/setup.yml to handle
common setup tasks as well as print some diagnostic information before each
test run to see if we can solve some of these test flakes.
Signed-off-by: Rich Megginson [email protected]
Summary by Sourcery
Refactor storage-related Ansible tests to use a shared setup task file for common preparation and diagnostics.
Tests: