Skip to content

Conversation

@simondeziel
Copy link
Member

No description provided.

@simondeziel simondeziel force-pushed the extend-benchmark-coverage branch from d7d6bc5 to 75edf39 Compare August 19, 2025 19:28
@simondeziel simondeziel marked this pull request as ready for review August 19, 2025 19:59
@simondeziel simondeziel requested a review from Copilot August 19, 2025 19:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves test coverage for the lxd-benchmark tool by adding new test scenarios and removing unused code. The changes enhance validation of error conditions and expand testing of various benchmark commands.

Key changes:

  • Adds test for error handling when launching with non-existent images
  • Expands test coverage with additional benchmark command variations (freeze, privileged, start)
  • Removes unused CreateContainers function from benchmark package

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
test/suites/lxd-benchmark.sh Adds error condition test and new benchmark command variations, updates expected report line count
lxd-benchmark/benchmark/benchmark.go Removes unused CreateContainers function to clean up dead code

@simondeziel simondeziel requested a review from tomponline August 19, 2025 20:20
@simondeziel
Copy link
Member Author

The test runtime difference is not even measurable on the slowest driver (ceph).

@tomponline tomponline merged commit d447338 into canonical:main Aug 20, 2025
31 checks passed
@simondeziel simondeziel deleted the extend-benchmark-coverage branch August 20, 2025 12:07
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