• Kubernetes Submit Queue's avatar
    Merge pull request #50316 from shashidharatd/flake-fix · ef0f723b
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    [Federation] Fix flake in TestUpdateClusterRace
    
    **What this PR does / why we need it**:
    Fix #50262
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50262
    
    **Special notes for your reviewer**:
    Although we do locking/unlocking while using protected data in ClusterController, there are chances that `clusterClient` can be deleted as it is a pointer. Also its better to lock/unlock once for the function `UpdateClusterStatus` instead of multiple locks/unlocks.
    
    **Release note**:
    ```
    NONE
    ```
    
    /assign @madhusudancs 
    /cc @dminh @kubernetes/sig-federation-bugs
    ef0f723b
Name
Last commit
Last update
..
apis Loading commit data...
client Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
deploy Loading commit data...
develop Loading commit data...
docs/api-reference Loading commit data...
manifests Loading commit data...
pkg Loading commit data...
plugin/pkg/admission/schedulingpolicy Loading commit data...
registry/cluster Loading commit data...
BUILD Loading commit data...
Makefile Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...