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/core/failover: enable the test on core18 #11175
tests/core/failover: enable the test on core18 #11175
Conversation
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Codecov Report
@@ Coverage Diff @@
## master #11175 +/- ##
==========================================
- Coverage 78.33% 78.33% -0.01%
==========================================
Files 920 920
Lines 104882 104882
==========================================
- Hits 82159 82156 -3
- Misses 17597 17598 +1
- Partials 5126 5128 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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, just a question for you to double check :-)
@@ -109,7 +122,7 @@ execute: | | |||
fi | |||
|
|||
# check boot env vars | |||
readlink /snap/core/current > failBoot | |||
readlink "/snap/$core_name/current" > failBoot |
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.
Do we want $core_name
or $TARGET_SNAP_NAME
here?
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 $TARGET_SNAP_NAME, but it works by accident since there was only ever running for the core* snaps. I'm working on making it work for the kernel snap too, so I'll fix it there.
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.
Nice to see this enabled on uc18, thanks
Enable the test on core18