Browse code

integ-cli: skip TestCliProxyProxyTCPSock on remote daemon

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>

Ahmet Alp Balkan authored on 2015/02/25 05:04:33
Showing 1 changed files
... ...
@@ -21,6 +21,7 @@ func TestCliProxyDisableProxyUnixSock(t *testing.T) {
21 21
 // Can't use localhost here since go has a special case to not use proxy if connecting to localhost
22 22
 // See http://golang.org/pkg/net/http/#ProxyFromEnvironment
23 23
 func TestCliProxyProxyTCPSock(t *testing.T) {
24
+	testRequires(t, SameHostDaemon)
24 25
 	// get the IP to use to connect since we can't use localhost
25 26
 	addrs, err := net.InterfaceAddrs()
26 27
 	if err != nil {