Merge pull request #21521 from mesosphere/jdef_kubelet_options1

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2016-02-24 18:35:10 -08:00
3 changed files with 45 additions and 6 deletions

View File

@@ -191,6 +191,7 @@ func newTestKubelet(t *testing.T) *TestKubelet {
// Relist period does not affect the tests.
kubelet.pleg = pleg.NewGenericPLEG(fakeRuntime, 100, time.Hour, nil)
kubelet.clock = fakeClock
kubelet.setNodeStatusFuncs = kubelet.defaultNodeStatusFuncs()
return &TestKubelet{kubelet, fakeRuntime, mockCadvisor, fakeKubeClient, fakeMirrorClient, fakeClock}
}