Skip to content
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

Improve test coverage of Machine controller reconcileDelete #11626

Open
sbueringer opened this issue Dec 30, 2024 · 3 comments
Open

Improve test coverage of Machine controller reconcileDelete #11626

sbueringer opened this issue Dec 30, 2024 · 3 comments
Assignees
Labels
area/machine Issues or PRs related to machine lifecycle management area/testing Issues or PRs related to testing kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@sbueringer
Copy link
Member

While adding sorting for hooks in condition messages it came up that we don't have test coverage for this part of the code: #11624 (comment)

The code we changed was adding sorting for hooks via these two PRs:

But the entire code for the pre-terminate and pre-drain hooks in reconcileDelete has no test coverage

@sbueringer sbueringer added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. area/machine Issues or PRs related to machine lifecycle management area/testing Issues or PRs related to testing labels Dec 30, 2024
@k8s-ci-robot k8s-ci-robot added needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Dec 30, 2024
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If CAPI contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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-sigs/prow repository.

@arshadd-b
Copy link

/assign

@arshadd-b
Copy link

I am interested and will work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/machine Issues or PRs related to machine lifecycle management area/testing Issues or PRs related to testing kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

3 participants