-
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
🐛 Fix TestServerSideApplyWithDefaulting flakes #10905
🐛 Fix TestServerSideApplyWithDefaulting flakes #10905
Conversation
/test ? |
@fabriziopandini: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
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-sigs/prow repository. |
/test pull-cluster-api-test-main |
2 similar comments
/test pull-cluster-api-test-main |
/test pull-cluster-api-test-main |
internal/controllers/topology/cluster/structuredmerge/serversidepathhelper_test.go
Outdated
Show resolved
Hide resolved
internal/controllers/topology/cluster/structuredmerge/serversidepathhelper_test.go
Outdated
Show resolved
Hide resolved
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.
/lgtm
/lgtm cancel see above comments :-) |
/test pull-cluster-api-test-main |
2 similar comments
/test pull-cluster-api-test-main |
/test pull-cluster-api-test-main |
Thx! and nice idea with the dry-run @chrischdi ! /lgtm |
LGTM label has been added. Git tree hash: 59e3519eadd8c527089413dae0a36bc8e9b1d448
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This PR is an attempt to get rid of TestServerSideApplyWithDefaulting flakes.
The assumption is that the test case "no-op_if_neither_is_defaulted" is moving too quickly from creating the webhook and calling NewServerSidePatchHelper, which expect the web up to be already registered/recognized by the API server.
The fix introduces as wait loop after creating the web hook to make sure the webhook is up and running before moving on.
Which issue(s) this PR fixes:
Fixes #10902
/area clusterclass