integration-cli: TestDockerNetworkConnectLinkLocalIP return on failure
| ... | ... |
@@ -1377,9 +1377,9 @@ func (s *DockerNetworkSuite) TestDockerNetworkConnectLinkLocalIP(c *testing.T) {
|
| 1377 | 1377 |
assertNwIsAvailable(c, "n0") |
| 1378 | 1378 |
|
| 1379 | 1379 |
// run a container with incorrect link-local address |
| 1380 |
- _, _, err := dockerCmdWithError("run", "--link-local-ip", "169.253.5.5", "busybox", "top")
|
|
| 1380 |
+ _, _, err := dockerCmdWithError("run", "--link-local-ip", "169.253.5.5", "busybox", "true")
|
|
| 1381 | 1381 |
assert.ErrorContains(c, err, "") |
| 1382 |
- _, _, err = dockerCmdWithError("run", "--link-local-ip", "2001:db8::89", "busybox", "top")
|
|
| 1382 |
+ _, _, err = dockerCmdWithError("run", "--link-local-ip", "2001:db8::89", "busybox", "true")
|
|
| 1383 | 1383 |
assert.ErrorContains(c, err, "") |
| 1384 | 1384 |
|
| 1385 | 1385 |
// run two containers with link-local ip on the test network |