Skip to content

CNTRLPLANE-3174: Add unit tests for v2 CPO controller packages - #8215

Merged
openshift-merge-bot[bot] merged 7 commits into
openshift:mainfrom
bryan-cox:improve-ut-coverage
Apr 15, 2026
Merged

openshift-merge-bot[bot] merged 7 commits into
openshift:mainfrom
bryan-cox:improve-ut-coverage

test: Add unit tests for v2 infrastructure controller packages

5b7f608
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 15, 2026 in 0s

35.61% (+0.96%) compared to 916b455

View this Pull Request on Codecov

35.61% (+0.96%) compared to 916b455

Details

Codecov Report

❌ Patch coverage is 38.29787% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 35.61%. Comparing base (916b455) to head (5b7f608).
⚠️ Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
support/testutil/fake.go 0.00% 29 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8215      +/-   ##
==========================================
+ Coverage   34.65%   35.61%   +0.96%     
==========================================
  Files         767      767              
  Lines       93263    93306      +43     
==========================================
+ Hits        32318    33231     +913     
+ Misses      58266    57388     -878     
- Partials     2679     2687       +8     
Files with missing lines Coverage Δ
support/util/containers.go 36.18% <100.00%> (+13.04%) ⬆️
support/testutil/fake.go 0.00% <0.00%> (ø)

... and 51 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.