mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-09 19:29:26 +00:00
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 ```