-
Notifications
You must be signed in to change notification settings - Fork 582
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
tests/coredump-options: test core dump generation #14549
tests/coredump-options: test core dump generation #14549
Conversation
79abb39
to
57e6ad3
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #14549 +/- ##
==========================================
+ Coverage 78.85% 78.95% +0.10%
==========================================
Files 1079 1084 +5
Lines 145615 146638 +1023
==========================================
+ Hits 114828 115783 +955
- Misses 23601 23657 +56
- Partials 7186 7198 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
57e6ad3
to
f2c6e28
Compare
else | ||
BASE=core"$VERSION_ID" | ||
sed -i "s/##BASE##/$BASE/" core-dump-snap/meta/snap.yaml | ||
sed -i "s/##BASE##/$BASE/" "$core_dump_d"/meta/snap.yaml |
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.
is has to be reverted during restore
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.
Good point, what I've done now is to copy inside the test folder before modifying.
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.
Minor comments inline
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.
+1 but agree with sergio's comments
The needed changes in the base are now in edge and beta core24 channels: make sure we are generating the core dumps. Also, reuse snap we have used in a similar test in the past.
f2c6e28
to
6436a61
Compare
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.
Thanks for the reviews, I've addressed the comments now
else | ||
BASE=core"$VERSION_ID" | ||
sed -i "s/##BASE##/$BASE/" core-dump-snap/meta/snap.yaml | ||
sed -i "s/##BASE##/$BASE/" "$core_dump_d"/meta/snap.yaml |
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.
Good point, what I've done now is to copy inside the test folder before modifying.
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.
Thanks
The needed changes in the base are now in edge and beta core24 channels: make sure we are generating the core dumps.