-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
add test case for ToValidOperationID method: TestToValidOperationID #109690
Conversation
Please note that we're already in Test Freeze for the |
Hi @twilight0620. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
/ok-to-test |
@yxxhero hi, i see some checks were not successful, but i did not see errors about my ut code, does the failures caused by my code? what should i modify? |
/retest-required |
/retest-required |
/assign @Jefftree Do you want to look at this? |
@twilight0620 Since we're adding tests to improve the coverage, can we add test cases to exercise all code paths of the function? (Add cases for names with underscore and numbers https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver/pkg/endpoints/openapi/openapi.go#L47) Thank you! |
/unassign @apelisse |
ok, i have added it. |
/retest-required |
Sorry if I wasn't very clear, you don't need to add a separate test case for those behaviors in isolation. Bundling them with one of the other test cases should be fine. |
you mean add scenarios like abc_abc and abc33abc? |
/retest-required |
could anyone handle and merge this pr? |
gentle ping @Jefftree |
/lgtm |
/assign @sttts |
gentle ping @sttts |
/assign @smarterclayton |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sttts, twilight0620 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 |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
What type of PR is this?
add test case for ToValidOperationID method: TestToValidOperationID
Add one of the following kinds:
/kind cleanup
What this PR does / why we need it:
ToValidOperationID method does not has ut test, so i add it.
Which issue(s) this PR fixes:
add ut test
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: