소스 검색

Merge pull request #10989 from ahmetalpbalkan/win-cli/TestCliProxyProxyTCPSock-skip

integ-cli: skip TestCliProxyProxyTCPSock on remote daemon
Jessie Frazelle 10 년 전
부모
커밋
11717741fd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      integration-cli/docker_cli_proxy_test.go

+ 1 - 0
integration-cli/docker_cli_proxy_test.go

@@ -21,6 +21,7 @@ func TestCliProxyDisableProxyUnixSock(t *testing.T) {
 // Can't use localhost here since go has a special case to not use proxy if connecting to localhost
 // See http://golang.org/pkg/net/http/#ProxyFromEnvironment
 func TestCliProxyProxyTCPSock(t *testing.T) {
+	testRequires(t, SameHostDaemon)
 	// get the IP to use to connect since we can't use localhost
 	addrs, err := net.InterfaceAddrs()
 	if err != nil {