Enhance test api to support test cases involved multiple containers

This commit is contained in:
He Simei
2015-06-23 16:03:31 +08:00
parent ebeb104493
commit 912e54789e
9 changed files with 30 additions and 23 deletions

View File

@@ -451,7 +451,7 @@ var _ = Describe("Pods", func() {
},
}
testContainerOutput("service env", c, pod, []string{
testContainerOutput("service env", c, pod, 0, []string{
"FOOSERVICE_SERVICE_HOST=",
"FOOSERVICE_SERVICE_PORT=",
"FOOSERVICE_PORT=",