-
Notifications
You must be signed in to change notification settings - Fork 26
Move e2e image pulling to setup phase #358
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
base: main
Are you sure you want to change the base?
Conversation
…eout Signed-off-by: IrvingMg <[email protected]>
Signed-off-by: IrvingMg <[email protected]>
✅ Deploy Preview for urunc ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
I think this is a "false positive". SonarQube is detecting the test case struct definitions as duplicated code because they share the same fields ( |
|
Thank you a lot @IrvingMg for this PR.
Yeah, feel free to ignore SonarQube. Just make sure that the tests run correctly. If there is any comment about the code, we will let you know. Edit: Looking a bit in the failed tests (I might be totally wrong, so ignore me in that case). I think we will need to use each tool's pull method to pull the images, because |
Signed-off-by: IrvingMg <[email protected]>
Signed-off-by: IrvingMg <[email protected]>
|
I've looked into the failed tests, and one issue was caused by the cspell linter, while the second was related to the new filterTestCases function I introduced to filter which images to pull. Both issues should now be fixed. |
cmainas
left a comment
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.
Hello @IrvingMg ,
I do not have any comment for the code, It looks very good. However, I think that the filterTestCases function needs a small change. Currently, we are able to run specific test cases for a specific unikernel / monitor / rootfs etc. (e.g. make test_ctr_mirage runs all ctr tests for the MirageOS unikernel). With these changes, we are only able to match only based on the prefix of the subtest and hence make test_ctr_mirage will not work.
If this gets fixed, the PR is good to go.
Signed-off-by: IrvingMg <[email protected]>
|


Moves image pulling to TestMain so it runs before the test timeout starts.
Fixes #325