• Kubernetes Submit Queue's avatar
    Merge pull request #43398 from enisoc/deletion-race-flake · bc82d87f
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Deflake TestSyncDeploymentDeletionRace
    
    **What this PR does / why we need it**:
    
    The cache was sometimes catching up while we were testing the case
    where the cache is not yet caught up.
    
    Before this fix, I could reproduce the failure with the following
    command. After the fix, it passes.
    
    ```
    go test -count 100000 -run TestSyncDeploymentDeletionRace
    ```
    
    I checked the other controllers, and they all were already not starting informers for the deletion race test. I also checked that the deletion race tests for other controllers all pass with `-count 100000`.
    
    **Which issue this PR fixes**:
    
    Fixes #43390
    
    **Special notes for your reviewer**:
    
    **Release note**:
    ```release-note
    NONE
    ```
    bc82d87f
Name
Last commit
Last update
..
bootstrap Loading commit data...
certificates Loading commit data...
cloud Loading commit data...
cronjob Loading commit data...
daemon Loading commit data...
deployment Loading commit data...
disruption Loading commit data...
endpoint Loading commit data...
garbagecollector Loading commit data...
job Loading commit data...
namespace Loading commit data...
node Loading commit data...
podautoscaler Loading commit data...
podgc Loading commit data...
replicaset Loading commit data...
replication Loading commit data...
resourcequota Loading commit data...
route Loading commit data...
service Loading commit data...
serviceaccount Loading commit data...
statefulset Loading commit data...
ttl Loading commit data...
volume Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
client_builder.go Loading commit data...
controller_ref_manager.go Loading commit data...
controller_utils.go Loading commit data...
controller_utils_test.go Loading commit data...
doc.go Loading commit data...
lookup_cache.go Loading commit data...