mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
Remove deleteAllContainers call in test
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
This commit is contained in:
@ -14,7 +14,6 @@ import (
|
||||
|
||||
// Make sure we can create a simple container with some args
|
||||
func (s *DockerSuite) TestCreateArgs(c *check.C) {
|
||||
|
||||
runCmd := exec.Command(dockerBinary, "create", "busybox", "command", "arg1", "arg2", "arg with space")
|
||||
out, _, _, err := runCommandWithStdoutStderr(runCmd)
|
||||
if err != nil {
|
||||
@ -256,9 +255,6 @@ func (s *DockerSuite) TestCreateLabels(c *check.C) {
|
||||
if !reflect.DeepEqual(expected, actual) {
|
||||
c.Fatalf("Expected %s got %s", expected, actual)
|
||||
}
|
||||
|
||||
deleteAllContainers()
|
||||
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestCreateLabelFromImage(c *check.C) {
|
||||
@ -287,9 +283,6 @@ func (s *DockerSuite) TestCreateLabelFromImage(c *check.C) {
|
||||
if !reflect.DeepEqual(expected, actual) {
|
||||
c.Fatalf("Expected %s got %s", expected, actual)
|
||||
}
|
||||
|
||||
deleteAllContainers()
|
||||
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestCreateHostnameWithNumber(c *check.C) {
|
||||
|
Reference in New Issue
Block a user