mirror of
https://github.com/moby/moby.git
synced 2025-10-24 09:13:09 +03:00
Handle IPv6 enabling correctly in the tests
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
This commit is contained in:
@@ -1412,7 +1412,7 @@ func verifyIPAddresses(c *check.C, cName, nwname, ipv4, ipv6 string) {
|
||||
|
||||
func (s *DockerNetworkSuite) TestDockerNetworkConnectLinkLocalIP(c *check.C) {
|
||||
// create one test network
|
||||
dockerCmd(c, "network", "create", "n0")
|
||||
dockerCmd(c, "network", "create", "--ipv6", "--subnet=2001:db8:1234::/64", "n0")
|
||||
assertNwIsAvailable(c, "n0")
|
||||
|
||||
// run a container with incorrect link-local address
|
||||
|
||||
Reference in New Issue
Block a user