Bläddra i källkod

Windows CI: Fix TestStartAttachMultipleContainers

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 9 år sedan
förälder
incheckning
ef9f13af3d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      integration-cli/docker_cli_start_test.go

+ 1 - 1
integration-cli/docker_cli_start_test.go

@@ -148,7 +148,7 @@ func (s *DockerSuite) TestStartMultipleContainers(c *check.C) {
 func (s *DockerSuite) TestStartAttachMultipleContainers(c *check.C) {
 func (s *DockerSuite) TestStartAttachMultipleContainers(c *check.C) {
 	// run  multiple containers to test
 	// run  multiple containers to test
 	for _, container := range []string{"test1", "test2", "test3"} {
 	for _, container := range []string{"test1", "test2", "test3"} {
-		dockerCmd(c, "run", "-d", "--name", container, "busybox", "top")
+		runSleepingContainer(c, "--name", container)
 	}
 	}
 
 
 	// stop all the containers
 	// stop all the containers