Skip to content

Conversation

vlogic
Copy link
Member

@vlogic vlogic commented Feb 17, 2025

Summary

When a VM is placed on a host we need to make sure not only the capacity is checked but we also check that the current running VMs plus the new VM can fit.

Implementation Notes ⚒️

  • Sum all memory of the running VMs
  • Check capacity - sum_of_all_vms > new_vm
  • Added unit tests for the SimHost class.

External Dependencies 🍀

  • None

Breaking API Changes ⚠️

  • None

Simply specify none (N/A) if not applicable.

Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (20d8587) to head (5723ab8).
Report is 2 commits behind head on master.

Additional details and impacted files
@@      Coverage Diff      @@
##   master   #306   +/-   ##
=============================
=============================

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants