• Kubernetes Submit Queue's avatar
    Merge pull request #52067 from crimsonfaith91/revamp · c3810222
    Kubernetes Submit Queue authored
    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
    c3810222
Name
Last commit
Last update
..
e2e Loading commit data...
e2e_node Loading commit data...
fixtures Loading commit data...
images Loading commit data...
integration Loading commit data...
kubemark Loading commit data...
list Loading commit data...
soak Loading commit data...
utils Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
test_owners.csv Loading commit data...
test_owners.json Loading commit data...