Skip to content

Commit

Permalink
e2e: add a dummy environment variable in the service tests
Browse files Browse the repository at this point in the history
This works around the docker bug:
moby/moby#14203
  • Loading branch information
yujuhong committed Apr 27, 2016
1 parent 65e1d9b commit eee4737
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/service.go
Expand Up @@ -1079,6 +1079,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: " "}},
},
},
},
Expand Down

0 comments on commit eee4737

Please sign in to comment.