Skip to content

Add test coverage for adding/removing FD in KCP #11602

Open
@fabriziopandini

Description

@fabriziopandini

While implementing #11598 I noticed that test coverage for failure domain management in KCP is minimal or not existent.

The PR partially addressed the tech debt by implementing test coverage for the failuredomains package (which was modified by the PR), but the upper layer of the call stack (scale.go, control_plane.go) still lack of test coverage, mostly with regards of scenarios where we are adding or removing failure domains.

/kind cleanup
/area provider/control-plane-kubeadm

Metadata

Metadata

Assignees

Labels

area/provider/control-plane-kubeadmIssues or PRs related to KCParea/testingIssues or PRs related to testingkind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions