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
Write patchCoreV1NamespacedPodStatus test - +1 endpoint #110705
Conversation
/triage accepted |
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
/test pull-kubernetes-e2e-kind |
Thank you for adding this to the SIG Node Project board!! @endocrimes @pacoxu To meet the conformance criteria we need to merge this e2e test and let it soak flake free for 2 weeks on the test grid, where after we would create the Promotion PR. (We have 6 weeks before test freeze.) |
/assign @endocrimes |
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.
/approve
/lgtm
/hold
minor nit, feel free to fix and then me/another reviewer can unhold/lgtm or unhold and follow up when promoting.
test/e2e/common/node/pods.go
Outdated
pStatus, err := podClient.Patch(context.TODO(), podName, types.MergePatchType, | ||
[]byte(`{"metadata":{"annotations":{"patchedstatus":"true"}},"status":`+string(pStatusJSON)+`}`), | ||
metav1.PatchOptions{}, "status") | ||
framework.ExpectNoError(err) |
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.
framework.ExpectNoError(err) | |
framework.ExpectNoError(err, "failed to patch pod: %q", podName) |
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.
@endocrimes Fixed this nit now as the promote process has set requirements around no other modifications to test source code in the PR.
e2e test validates the following endpoint - patchCoreV1NamespacedPodStatus
72b6dee
to
bc22560
Compare
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
/unhold
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: endocrimes, Riaankl 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 type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR adds a test to test the following untested endpoints:
Which issue(s) this PR fixes:
Fixes #108499
Testgrid Link:
Testgrid
Special notes for your reviewer:
Adds +1 endpoint test coverage (good for conformance)
Does this PR introduce a user-facing change?:
Release note:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig testing
/sig architecture
/area conformance
/sig node