Skip to content

add unit tests for LXD container engine#3487

Merged
nicolargo merged 1 commit intonicolargo:developfrom
crishoj:feature/lxd-support
Mar 21, 2026
Merged

add unit tests for LXD container engine#3487
nicolargo merged 1 commit intonicolargo:developfrom
crishoj:feature/lxd-support

Conversation

@crishoj
Copy link
Copy Markdown
Contributor

@crishoj crishoj commented Mar 16, 2026

Re #3480: Mock-based unit tests for the LXD container engine

  • TestLxdStatsFetcher: CPU delta, memory fallback, network loopback exclusion, thread lifecycle
  • TestLxdExtensionGenerateStats: stopped/running instances, proxy device ports, image config
  • TestLxdExtensionUpdate: running filter, all_tag, cluster node filter, cleanup of removed instances

- TestLxdStatsFetcher: CPU delta, memory fallback, network loopback exclusion, thread lifecycle
- TestLxdExtensionGenerateStats: stopped/running instances, proxy device ports, image config
- TestLxdExtensionUpdate: running filter, all_tag, cluster node filter, cleanup of removed instances

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nicolargo nicolargo merged commit 2b02179 into nicolargo:develop Mar 21, 2026
16 of 18 checks passed
@nicolargo
Copy link
Copy Markdown
Owner

Thanks for the PR @crishoj

Merged into develop.

@nicolargo nicolargo added the test label Mar 21, 2026
@nicolargo nicolargo added this to the Glances 4.5.3 milestone Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants