Skip to content

Commit

Permalink
Merge pull request moby#40057 from andrewhsu/truetop
Browse files Browse the repository at this point in the history
integration-cli: TestDockerNetworkConnectLinkLocalIP return on failure
  • Loading branch information
tiborvass committed Oct 8, 2019
2 parents 72befc2 + 318e279 commit dba8da8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-cli/docker_cli_network_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1377,9 +1377,9 @@ func (s *DockerNetworkSuite) TestDockerNetworkConnectLinkLocalIP(c *testing.T) {
assertNwIsAvailable(c, "n0")

// run a container with incorrect link-local address
_, _, err := dockerCmdWithError("run", "--link-local-ip", "169.253.5.5", "busybox", "top")
_, _, err := dockerCmdWithError("run", "--link-local-ip", "169.253.5.5", "busybox", "true")
assert.ErrorContains(c, err, "")
_, _, err = dockerCmdWithError("run", "--link-local-ip", "2001:db8::89", "busybox", "top")
_, _, err = dockerCmdWithError("run", "--link-local-ip", "2001:db8::89", "busybox", "true")
assert.ErrorContains(c, err, "")

// run two containers with link-local ip on the test network
Expand Down

0 comments on commit dba8da8

Please sign in to comment.