Integration tests should do a faster status sync loop

This commit is contained in:
Clayton Coleman
2015-03-22 23:02:18 -04:00
parent d8223ff9e2
commit bd12cfea69
3 changed files with 11 additions and 6 deletions

View File

@@ -150,7 +150,8 @@ func startComponents(etcdClient tools.EtcdClient, cl *client.Client, addr net.IP
if err != nil {
glog.Fatalf("Failed to create cAdvisor: %v", err)
}
kubeletapp.SimpleRunKubelet(cl, dockerClient, machineList[0], "/tmp/kubernetes", "", "127.0.0.1", 10250, *masterServiceNamespace, kubeletapp.ProbeVolumePlugins(), nil, cadvisorInterface, "")
kcfg := kubeletapp.SimpleKubelet(cl, dockerClient, machineList[0], "/tmp/kubernetes", "", "127.0.0.1", 10250, *masterServiceNamespace, kubeletapp.ProbeVolumePlugins(), nil, cadvisorInterface, "")
kubeletapp.RunKubelet(kcfg)
}
func newApiClient(addr net.IP, port int) *client.Client {