• 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
Name
Last commit
Last update
..
util Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
deployment_controller.go Loading commit data...
deployment_controller_test.go Loading commit data...
progress.go Loading commit data...
progress_test.go Loading commit data...
recreate.go Loading commit data...
recreate_test.go Loading commit data...
rollback.go Loading commit data...
rolling.go Loading commit data...
rolling_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...