Fix deployment tests failures; change ResyncPeriod

This commit is contained in:
Janet Kuo
2015-11-18 15:12:11 -08:00
parent b838d8ce18
commit 32d153093e
10 changed files with 193 additions and 153 deletions

View File

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