Addressed comments.

This commit is contained in:
Dawn Chen
2014-10-06 11:54:51 -07:00
parent a86d496f9a
commit 4fdfeaa30e
4 changed files with 31 additions and 15 deletions

View File

@@ -85,8 +85,20 @@ func TestRunOnce(t *testing.T) {
}},
},
inspectContainersResults: []inspectContainersResult{
{label: "syncPod", container: docker.Container{State: docker.State{Running: true}}},
{label: "syncPod", container: docker.Container{State: docker.State{Running: true}}},
{
label: "syncPod",
container: docker.Container{
Config: &docker.Config{Image: "someimage"},
State: docker.State{Running: true},
},
},
{
label: "syncPod",
container: docker.Container{
Config: &docker.Config{Image: "someimage"},
State: docker.State{Running: true},
},
},
},
t: t,
}