From bdadaefe3b836bccc8db0b1f90e5125f51ce54dd Mon Sep 17 00:00:00 2001 From: Yu-Ju Hong Date: Tue, 26 Apr 2016 16:25:26 -0700 Subject: [PATCH] e2e: add a dummy environment variable in the service tests This works around the docker bug: https://github.com/docker/docker/issues/14203 --- test/e2e/service.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/e2e/service.go b/test/e2e/service.go index d98e91f3d8b..08dd2547dfa 100644 --- a/test/e2e/service.go +++ b/test/e2e/service.go @@ -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: " "}}, }, }, },