Skip to content

Fix failing tests

ca53b51
Select commit
Loading
Failed to load commit list.
Merged

Refactor of Allocator classes #9074

Fix failing tests
ca53b51
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 17, 2026 in 1s

18.05% (+0.02%) compared to 1bff543

View this Pull Request on Codecov

18.05% (+0.02%) compared to 1bff543

Details

Codecov Report

❌ Patch coverage is 81.09244% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 18.05%. Comparing base (1bff543) to head (ca53b51).
⚠️ Report is 126 commits behind head on main.

Files with missing lines Patch % Lines
...gent/manager/allocator/impl/FirstFitAllocator.java 79.38% 23 Missing and 4 partials ⚠️
.../agent/manager/allocator/impl/RandomAllocator.java 89.09% 6 Missing ⚠️
...agent/manager/allocator/impl/TestingAllocator.java 0.00% 3 Missing ⚠️
...om/cloud/deploy/DeploymentPlanningManagerImpl.java 62.50% 2 Missing and 1 partial ⚠️
.../src/main/java/com/cloud/host/dao/HostDaoImpl.java 0.00% 2 Missing ⚠️
...in/java/com/cloud/server/ManagementServerImpl.java 0.00% 2 Missing ⚠️
...i/command/admin/host/FindHostsForMigrationCmd.java 0.00% 1 Missing ⚠️
...loudstack/api/command/admin/host/ListHostsCmd.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9074      +/-   ##
============================================
+ Coverage     18.02%   18.05%   +0.02%     
- Complexity    16460    16654     +194     
============================================
  Files          5968     6024      +56     
  Lines        537213   542009    +4796     
  Branches      65975    66393     +418     
============================================
+ Hits          96825    97842    +1017     
- Misses       429469   433159    +3690     
- Partials      10919    11008      +89     

☔ 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.