-
Notifications
You must be signed in to change notification settings - Fork 41.1k
chore: move watch handler tests to handlers pkg #131323
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
Conversation
Please note that we're already in Test Freeze for the Fast forwards are scheduled to happen every 6 hours, whereas the most recent run was: Tue Apr 15 19:35:15 UTC 2025. |
- Move the watch handler unit tests to the same package as the WatchServer implementation. k8s.io/apiserver/pkg/endpoints -> k8s.io/apiserver/endpoints/handlers - Copy over minimal scheme and codec test setup - Refactor the tests to use testify assert and require This unblocks making WatchServer private, if we decide to do that.
6b8a4df
to
7fcc1bc
Compare
/assign @wojtek-t |
/lgtm |
LGTM label has been added. Git tree hash: e66c657fc14e10c7c1925d84d63ee6e3e126dd59
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: karlkfi, wojtek-t 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 |
/triage accepted |
What type of PR is this?
/kind cleanup
What this PR does / why we need it
This unblocks making WatchServer private, if we decide to do that.
Does this PR introduce a user-facing change?
Blocking