mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-24 16:57:27 +00:00
Automatic merge from submit-queue (batch tested with PRs 54997, 61869, 61816, 61909, 60525). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Improve api validation unit test coverage **What this PR does / why we need it**: Add UT for ValidatePodLogOptions and AccumulateUniqueHostPorts Before ``` coverage: 60.0% of statements ok k8s.io/kubernetes/pkg/api/v1/validation 0.058s ``` After: ``` coverage: 92.9% of statements ok k8s.io/kubernetes/pkg/api/v1/validation 0.057s ``` **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```