Commit bdadaefe authored by Yu-Ju Hong's avatar Yu-Ju Hong

e2e: add a dummy environment variable in the service tests

This works around the docker bug: https://github.com/docker/docker/issues/14203
parent 3b09c641
...@@ -1080,6 +1080,9 @@ func createPodOrFail(c *client.Client, ns, name string, labels map[string]string ...@@ -1080,6 +1080,9 @@ func createPodOrFail(c *client.Client, ns, name string, labels map[string]string
Name: "test", Name: "test",
Image: "gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Ports: containerPorts, 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: " "}},
}, },
}, },
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment