Made tracing of calls and container lifecycle steps in FakeDockerClient optional

This commit is contained in:
Shyam Jeedigunta
2017-01-12 22:24:35 +01:00
parent e827393fa2
commit 814c850fe5
6 changed files with 98 additions and 46 deletions

View File

@@ -110,7 +110,7 @@ func main() {
cadvisorInterface := new(cadvisortest.Fake)
containerManager := cm.NewStubContainerManager()
fakeDockerClient := dockertools.NewFakeDockerClient()
fakeDockerClient := dockertools.NewFakeDockerClient().WithTraceDisabled()
fakeDockerClient.EnableSleep = true
hollowKubelet := kubemark.NewHollowKubelet(