mirror of https://github.com/docker/docs.git
Merge pull request #11216 from ahmetalpbalkan/win-cli/TestCliProxyDisableProxyUnixSock-fix
integ-cli: skip test assuming -H is unix://...
This commit is contained in:
commit
057c5e6aa9
|
@ -8,6 +8,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCliProxyDisableProxyUnixSock(t *testing.T) {
|
func TestCliProxyDisableProxyUnixSock(t *testing.T) {
|
||||||
|
testRequires(t, SameHostDaemon) // test is valid when DOCKER_HOST=unix://..
|
||||||
|
|
||||||
cmd := exec.Command(dockerBinary, "info")
|
cmd := exec.Command(dockerBinary, "info")
|
||||||
cmd.Env = appendBaseEnv([]string{"HTTP_PROXY=http://127.0.0.1:9999"})
|
cmd.Env = appendBaseEnv([]string{"HTTP_PROXY=http://127.0.0.1:9999"})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue