Merge pull request #24830 from yujuhong/dummy_env

Automatic merge from submit-queue

e2e: add a dummy environment variable in the service tests

This works around the docker bug:
https://github.com/docker/docker/issues/14203
This commit is contained in:
k8s-merge-robot
2016-04-26 18:53:41 -07:00

View File

@@ -1080,6 +1080,9 @@ func createPodOrFail(c *client.Client, ns, name string, labels map[string]string
Name: "test",
Image: "gcr.io/google_containers/pause:2.0",
Ports: containerPorts,
// Add a dummy environment variable to work around a docker issue.
// https://github.com/docker/docker/issues/14203
Env: []api.EnvVar{{Name: "FOO", Value: " "}},
},
},
},