-
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
More unit test coverage for clusterctl upgrader #4233
Comments
/area clusterctl /help |
@fabriziopandini: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed 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. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen |
/milestone v1.0 |
/close |
@fabriziopandini: Closing this issue. 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. |
User Story
Right now, the unit tests for upgrader (
upgrader_test.go
) has tests forPlan
, andcreateCustomPlan
methods. We want to add more coverage by adding tests for the other methods in theProviderUpgrader
interface namely:ApplyPlan
, andApplyCustomPlan
methods.#4230 partially addresses this by adding failure cases specific to running multiple provider instance version for v1alpha4 upgrade. But, we also need to have test cases for success scenarios.
Anything else you would like to add:
The main challenge here to create a fake for
getUpgradeComponents
andinstallComponentsAndUpdateInventory
./kind feature
The text was updated successfully, but these errors were encountered: