mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #42163 from cpuguy83/TestDockerNetworkFlagAlias
Remove cli test for duplicate --net/--network opts
This commit is contained in:
commit
e0c87f90cd
1 changed files with 0 additions and 3 deletions
|
@ -1696,9 +1696,6 @@ func (s *DockerNetworkSuite) TestDockerNetworkFlagAlias(c *testing.T) {
|
|||
output, status := dockerCmd(c, "run", "--rm", "--network=user", "--network-alias=foo", "busybox", "true")
|
||||
assert.Equal(c, status, 0, fmt.Sprintf("unexpected status code %d (%s)", status, output))
|
||||
|
||||
output, status, _ = dockerCmdWithError("run", "--rm", "--net=user", "--network=user", "busybox", "true")
|
||||
assert.Equal(c, status, 0, fmt.Sprintf("unexpected status code %d (%s)", status, output))
|
||||
|
||||
output, status, _ = dockerCmdWithError("run", "--rm", "--network=user", "--net-alias=foo", "--network-alias=bar", "busybox", "true")
|
||||
assert.Equal(c, status, 0, fmt.Sprintf("unexpected status code %d (%s)", status, output))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue