Merge pull request #26494 from caesarxuchao/enable-watchCache-integration-tests

Automatic merge from submit-queue

Enable WatchCache in test/integration/ tests

We already run cmd/integration/ with watch cache on. We should also run tests in test/integration/ with watch cache on.

@wojtek-t @lavalamp
This commit is contained in:
k8s-merge-robot 2016-06-09 04:55:47 -07:00
commit dd345fbf89

View File

@ -198,6 +198,7 @@ func NewMasterConfig() *master.Config {
Authorizer: apiserver.NewAlwaysAllowAuthorizer(),
AdmissionControl: admit.NewAlwaysAdmit(),
Serializer: api.Codecs,
EnableWatchCache: true,
},
KubeletClient: kubeletclient.FakeKubeletClient{},
}