Skip to content

Add unit tests

0708236
Select commit
Loading
Failed to load commit list.
Draft

Add config keys for controlling public/private template secondary storage replica counts #12877

Add unit tests
0708236
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 23, 2026 in 1s

18.02% (+0.00%) compared to b744824

View this Pull Request on Codecov

18.02% (+0.00%) compared to b744824

Details

Codecov Report

❌ Patch coverage is 40.90909% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 18.02%. Comparing base (b744824) to head (0708236).

Files with missing lines Patch % Lines
.../com/cloud/template/HypervisorTemplateAdapter.java 20.00% 7 Missing and 1 partial ⚠️
...n/java/com/cloud/template/TemplateAdapterBase.java 50.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main   #12877   +/-   ##
=========================================
  Coverage     18.02%   18.02%           
- Complexity    16450    16452    +2     
=========================================
  Files          5968     5968           
  Lines        537086   537093    +7     
  Branches      65961    65964    +3     
=========================================
+ Hits          96819    96824    +5     
- Misses       429347   429348    +1     
- Partials      10920    10921    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.