mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-13 06:04:02 +00:00
Automatic merge from submit-queue (batch tested with PRs 52960, 52373). 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>.. Refactor eviction tests fixes: #52203 We have a bunch of eviction tests, which each break independently, and take a large amount of time to fix. This refactors these tests to share the core eviction testing logic. Each tests needs only to set kubelet flags, and specify which pods to run. I decided to omit the memory eviction tests because they work. Best not to disturb them. A large portion of the code changes are the renaming of inode_eviction_test.go -> eviction_test.go This should probably wait until after https://github.com/kubernetes/kubernetes/pull/50392 /assign @mtaufen @Random-Liu