Merge pull request #19031 from mikedanese/fix-flake

fix flake in deployment unit test
pull/6/head
Marek Grabowski 2015-12-23 08:38:13 +01:00
commit cf69083697
1 changed files with 1 additions and 0 deletions

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 {