-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Added test for state_test.go #9789
🌱 Added test for state_test.go #9789
Conversation
Hi @razashahid107. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@willie-yao I'd really appreciate if you review the PR |
@razashahid107 Will take a look asap. Thanks for your PR! |
/assign |
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.
Wow awesome work @razashahid107! This looks great to me 🚀
/lgtm
@razashahid107 Make sure to add the 🌱 emoji in the PR title |
Hmm looks like the unit test job didn't run before, will remove the lgtm until those are fixed |
/ok-to-test |
@razashahid107: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
The tests I've written fail when the IsUpgrading() function fails to enter the for loop towards the end of it (debugged the code). This is because there exist no NodeRefs in the tests I create. I hence tried to add Status.NodeRefs in the Build() function for MachinePoolBuilder. The test now fails to run with a pointer dereferencing issue. I've committed the latest changes (I've kept the Status.NodeRefs part in the PR, I'd appreciate if anyone can review it and correct where I am going wrong). Am I not supposed to make changes in the MachinePoolBuilder Build() function? |
/close in favor of #10052. @razashahid107 I've continued your work as requested and added you as a code author. Thanks for all your great work on this! 🚀 |
/close See above |
@sbueringer: Closed this PR. In response to this:
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. |
What this PR does / why we need it:
This PR adds tests for the new ClusterClass MachinePool implementation for the internal/controllers/topology/cluster/scope/state_test.go
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes part of #5991
/area testing