• Anthony Yeh's avatar
    Deflake TestSyncDeploymentDeletionRace · 0b923364
    Anthony Yeh authored
    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
    ```
    0b923364
deployment_controller_test.go 27.2 KB