k3s/pkg/controller/deployment
Anthony Yeh 0b9233648e Deflake TestSyncDeploymentDeletionRace
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
```
2017-03-20 11:13:26 -07:00
..
util kubectl: Use v1.5-compatible ownership logic when listing dependents. 2017-03-16 12:28:38 -07:00
BUILD Deployment: Use ControllerRef to route watch events. 2017-03-06 15:12:07 -08:00
OWNERS Update OWNERS for pkg/controller/deployment 2017-01-26 10:24:52 -08:00
deployment_controller.go Merge pull request #42938 from enisoc/orphan-race 2017-03-20 01:30:11 -07:00
deployment_controller_test.go Deflake TestSyncDeploymentDeletionRace 2017-03-20 11:13:26 -07:00
progress.go Deployment: Use ControllerRef to list controlled objects. 2017-03-06 15:12:06 -08:00
progress_test.go controller: fix requeueing progressing deployments 2017-02-20 18:19:23 +01:00
recreate.go Deployment: Use ControllerRef to list controlled objects. 2017-03-06 15:12:06 -08:00
recreate_test.go react to informer updates 2017-02-13 09:18:32 -05:00
rollback.go Deployment: Use ControllerRef to list controlled objects. 2017-03-06 15:12:06 -08:00
rolling.go Deployment: Use ControllerRef to list controlled objects. 2017-03-06 15:12:06 -08:00
rolling_test.go move client/record 2017-01-31 19:14:13 -05:00
sync.go Fix revision when SetDeploymentRevision 2017-03-17 23:23:41 +08:00
sync_test.go react to informer updates 2017-02-13 09:18:32 -05:00