Skip to content

Conversation

@sbueringer
Copy link
Member

@sbueringer sbueringer commented Dec 29, 2025

Signed-off-by: Stefan Büringer [email protected]

What this PR does / why we need it:
We have some flakes in our unit test e2e jobs on main.

Example: https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/periodic-cluster-api-test-main/2005191917431689216

The issue seems to be that one of the two ClusterCaches we register takes too long to shutdown (~30 seconds). Accordingly the suite times out when shutting down the manager.

This PR simplifies the TestGetNode unit test to avoid one instance of ClusterCache. Let's see if that fixes the unit test flake

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 #

Signed-off-by: Stefan Büringer [email protected]
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-area PR is missing an area label size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 29, 2025
@sbueringer sbueringer added the area/testing Issues or PRs related to testing label Dec 29, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/needs-area PR is missing an area label label Dec 29, 2025
@sbueringer
Copy link
Member Author

/test pull-cluster-api-test-mink8s-main

Copy link
Member

@fabriziopandini fabriziopandini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 29, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

DetailsGit tree hash: fe3046d875fad0b29d9385f97c2b4cf0e33baaff

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabriziopandini

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 29, 2025
@k8s-ci-robot k8s-ci-robot merged commit 1adb9c5 into kubernetes-sigs:main Dec 29, 2025
27 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.13 milestone Dec 29, 2025
@sbueringer sbueringer deleted the pr-simplify-TestGetNode branch December 29, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/testing Issues or PRs related to testing cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants