Skip to content

Conversation

@liuw
Copy link
Member

@liuw liuw commented Nov 25, 2025

No description provided.

@liuw liuw requested a review from a team as a code owner November 25, 2025 05:47
It is a common use case to run a subset of tests locally to verify
certain functionalities.

The default behaviour for nextest is to error out if no tests are run.
That causes the test scripts to return a non-zero value (failure). Pass
`--no-tests=pass` to nextest to match what `cargo test` does if no tests
are run.

Signed-off-by: Wei Liu <[email protected]>
@liuw liuw force-pushed the tests-check-disk-consistency branch from 19958eb to 3240203 Compare November 25, 2025 05:59
Copy link
Member

@phip1611 phip1611 left a comment

Choose a reason for hiding this comment

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

Overall, it looks good to me. I left a few remarks

@liuw liuw force-pushed the tests-check-disk-consistency branch from 3240203 to 0d963b0 Compare November 25, 2025 07:23
We've encountered issues that Cloud Hypervisor corrupts disk images
after use. Those issues may not be immediately obvious until the
corrupted images are used again.

Run consistency checks over the disk images in the test cases to catch
issues as early as possible.

Signed-off-by: Wei Liu <[email protected]>
@liuw liuw force-pushed the tests-check-disk-consistency branch from 0d963b0 to a55264b Compare November 25, 2025 07:26
Copy link
Member

@phip1611 phip1611 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for unifying the function - very nice

@rbradford rbradford added this pull request to the merge queue Nov 25, 2025
Merged via the queue into cloud-hypervisor:main with commit dda89d7 Nov 25, 2025
41 of 43 checks passed
@liuw liuw deleted the tests-check-disk-consistency branch November 26, 2025 01:15
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.

3 participants