-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Skip kani if not enough RAM #4136
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4136 +/- ##
=======================================
Coverage 83.10% 83.10%
=======================================
Files 225 225
Lines 28605 28605
=======================================
Hits 23772 23772
Misses 4833 4833
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
117d0f5
to
3c9d8cd
Compare
3c9d8cd
to
24c8127
Compare
24c8127
to
4eb26b9
Compare
b58cbbd
to
af498db
Compare
Trying to run the kani integration test outside of the CI will almost certainly result in out of memory conditions in the best case, and in system hangs in the worst case. Therefore, do not attempt to run kani if running tests locally. Signed-off-by: Patrick Roy <[email protected]>
Currently, we only run kani if a .rs file is modified. We should also run it if dependencies are changed. Signed-off-by: Patrick Roy <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, mainly questions for my education
Trying to run the kani integration test outside of the CI will almost certainly result in out of memory conditions in the best case, and in system hangs in the worst case. Therefore, do not attempt to run kani if running tests locally.
Also removes an unneeded assertion, as
run_cmd
already checks the exit code by default.License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following
Developer Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
CHANGELOG.md
.TODO
s link to an issue.rust-vmm
.