mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-15 23:40:25 +00:00
Automatic merge from submit-queue (batch tested with PRs 53444, 52067, 53571, 53182). 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>. revamp replicaset integration tests **What this PR does / why we need it**: This PR revamps existing replicaset integration tests. Some unit tests have been converted to integration tests. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #51484 **Release note**: ```release-note NONE ``` **TODO List**: - [x] add an integration test to verify scale endpoint works - [ ] convert testReplicaSetConditionCheck() to integration test, and modify the test as replicaset's condition has been removed - [ ] ~~HPA-related replicaset integration test (may be better suited under HPA integration tests)~~ - [x] verify all tests from "Suggested unit tests to retain" list of the internal doc will not be converted to integration tests, or convert the tests accordingly - [ ] ~~refactor sync call tree (refer deployment and daemonset PRs)~~ - [x] further improve written integration tests (revise test strategies, remove redundant GET / UPDATE calls, add more relevant sub-tests) - [x] remove unit tests that have overlapping testing goals with written integration tests