Turn on smarter FakeDockerClient in HollowNode.

This commit is contained in:
gmarek
2015-10-05 17:45:36 +02:00
parent acb9db6e2f
commit 22b318fc5c
2 changed files with 94 additions and 76 deletions

View File

@@ -107,6 +107,8 @@ func main() {
configFilePath := makeTempDirOrDie("config", testRootDir)
glog.Infof("Using %s as root dir for hollow-kubelet", testRootDir)
fakeDockerClient.VersionInfo = docker.Env{"ApiVersion=1.18"}
fakeDockerClient.ContainerMap = make(map[string]*docker.Container)
fakeDockerClient.EnableSleep = true
kcfg := kubeletapp.SimpleKubelet(
cl,
&fakeDockerClient,