1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

update docker_cli_proxy_test.go

Part of #16756
Signed-off-by: Xiaoxu Chen <chenxiaoxu14@otcaix.iscas.ac.cn>
This commit is contained in:
Xiaoxu Chen 2015-10-09 14:53:56 +08:00
parent 14f43406a3
commit 1db161768c

View file

@ -38,7 +38,8 @@ func (s *DockerDaemonSuite) TestCliProxyProxyTCPSock(c *check.C) {
} }
} }
c.Assert(ip, checker.Equals, "") c.Assert(ip, checker.Not(checker.Equals), "")
err = s.d.Start("-H", "tcp://"+ip+":2375") err = s.d.Start("-H", "tcp://"+ip+":2375")
c.Assert(err, checker.IsNil) c.Assert(err, checker.IsNil)
cmd := exec.Command(dockerBinary, "info") cmd := exec.Command(dockerBinary, "info")