Fix improper use of --rm
in test case
Test is testing that a user can disconnect from the default network before it is started (#26220). This test does not need to use `--rm`, which is never aken into account since the container is never started. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
parent
85c3b8c1b1
commit
f05ed00758
1 changed files with 1 additions and 1 deletions
|
@ -1764,7 +1764,7 @@ func (s *DockerNetworkSuite) TestDockerNetworkDisconnectFromBridge(c *check.C) {
|
|||
network := strings.TrimSpace(out)
|
||||
|
||||
name := "test"
|
||||
dockerCmd(c, "create", "--rm", "--name", name, "busybox", "top")
|
||||
dockerCmd(c, "create", "--name", name, "busybox", "top")
|
||||
|
||||
_, _, err := dockerCmdWithError("network", "disconnect", network, name)
|
||||
c.Assert(err, check.IsNil)
|
||||
|
|
Loading…
Add table
Reference in a new issue