fix flake in deployment unit test

This commit is contained in:
Mike Danese 2015-12-22 14:28:44 -08:00
parent ac5c0aaba7
commit b2aa98f50d

View File

@ -365,6 +365,7 @@ func newFixture(t *testing.T) *fixture {
func (f *fixture) run(deploymentName string) {
f.client = testclient.NewSimpleFake(f.objects)
c := NewDeploymentController(f.client, controller.NoResyncPeriodFunc)
c.eventRecorder = &record.FakeRecorder{}
c.rcStoreSynced = alwaysReady
c.podStoreSynced = alwaysReady
for _, d := range f.dStore {