mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #10989 from ahmetalpbalkan/win-cli/TestCliProxyProxyTCPSock-skip
integ-cli: skip TestCliProxyProxyTCPSock on remote daemon
This commit is contained in:
commit
11717741fd
1 changed files with 1 additions and 0 deletions
|
@ -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
|
// 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
|
// See http://golang.org/pkg/net/http/#ProxyFromEnvironment
|
||||||
func TestCliProxyProxyTCPSock(t *testing.T) {
|
func TestCliProxyProxyTCPSock(t *testing.T) {
|
||||||
|
testRequires(t, SameHostDaemon)
|
||||||
// get the IP to use to connect since we can't use localhost
|
// get the IP to use to connect since we can't use localhost
|
||||||
addrs, err := net.InterfaceAddrs()
|
addrs, err := net.InterfaceAddrs()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue