-
Notifications
You must be signed in to change notification settings - Fork 430
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
Add unit tests for VM converter and remove unused err from SDKToVM #2564
Add unit tests for VM converter and remove unused err from SDKToVM #2564
Conversation
|
Welcome @willie-yao! |
Hi @willie-yao. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/retest |
85dd8cc
to
77fc7fc
Compare
/retest |
458392d
to
20b71b7
Compare
By the way since the VM converter never actually returns an error I think could probably just remove it from the function spec. Wdyt about that? |
I agree with that. Should we do that in a separate PR? |
My test for that is "is there a possibility we might need to revert these changes separately?" That illuminates whether the changes are logically distinct and ought to have separate commits and PRs. In this case, the changes are distinct, but I think there's little chance we would need to revert them separately. So IMHO it's a judgment call. It's always defensible to make separate PRs, but I think you could make both changes in one PR in this case and reviewers wouldn't complain...at least I wouldn't. 😄 This lgtm, btw. |
Hmm...so changing the signature of Maybe I was wrong about combining the two commits? I'm curious what other reviewers think. ping @Jont828 @CecileRobertMichon @jackfrancis |
@mboersma That's correct. One interesting thing is that my PR to change the apidiff test would have made this test pass, since we are changing that test to only flag breaking changes within the api/ or exp/api/ directories. I'm assuming this means that this change would be okay to merge? |
You are correct, I totally forgot that we really only care about those dirs for apidiff. (#2567 can't merge soon enough.) |
@willie-yao if you can rebase this to fix the apidiff error, I think it's good to merge. |
fb6cd59
to
8b53f68
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.
/lgtm
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
/approve
great work 🎉
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds unit tests for the VM converter and removes unused
err
return from SDKToVMWhich issue(s) this PR fixes:
Fixes #2538
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
Release note: