mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-01-27 10:19:35 +00:00
Slightly-more-generic replacement for validateEndpointsPortsOrFail() (but only validates EndpointSlices, not Endpoints). Also, add two new unit tests to the Endpoints controller, to assert the correct Endpoints-generating behavior in the cases formerly covered by the "should serve endpoints on same port and different protocols" and "should be updated after adding or deleting ports" e2e tests (since they are now EndpointSlice-only). (There's not much point in testing the Endpoints controller in "end to end" tests, since nothing in a normal cluster ever looks at its output, so there's really only one "end" anyway.)