Skip to content

Always use EsxiMemoryManager on ESXi - #311

Merged
Schamper merged 5 commits into
fox-it:mainfrom
Matthijsy:hotfix/esxi-context-manager
Aug 12, 2026
Merged

Always use EsxiMemoryManager on ESXi#311
Schamper merged 5 commits into
fox-it:mainfrom
Matthijsy:hotfix/esxi-context-manager

Conversation

@Matthijsy

Copy link
Copy Markdown
Contributor

Currently the EsxiMemoryManager is only used for the acquisition part. However, this means that other code flows might fail (such as --list-children). This PR changes the behavior by always using the EsxiMemoryManager as long as we are on ESXi.

Fixes #310

@Matthijsy
Matthijsy force-pushed the hotfix/esxi-context-manager branch from 4002808 to e8130e1 Compare August 3, 2026 09:44
Comment thread acquire/acquire.py Outdated
Co-authored-by: Erik Schamper <1254028+Schamper@users.noreply.github.com>
@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.77%. Comparing base (bff526b) to head (cd4a02d).

Files with missing lines Patch % Lines
acquire/acquire.py 0.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #311      +/-   ##
==========================================
+ Coverage   43.75%   43.77%   +0.02%     
==========================================
  Files          26       26              
  Lines        3632     3630       -2     
==========================================
  Hits         1589     1589              
+ Misses       2043     2041       -2     
Flag Coverage Δ
unittests 43.77% <0.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@Schamper Schamper left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix the linter?

@Schamper
Schamper merged commit 9d5705c into fox-it:main Aug 12, 2026
22 of 23 checks passed
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.

Running --list-children breaks on ESXi

2 participants