Przeglądaj źródła

Merge pull request #20695 from vdemeester/fix-windowsTP4-check

Fix TestExecApiStartWithDetach on WindowsTP4
Antonio Murdaca 9 lat temu
rodzic
commit
e4a6a889be
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      integration-cli/docker_api_exec_test.go

+ 1 - 1
integration-cli/docker_api_exec_test.go

@@ -125,7 +125,7 @@ func (s *DockerSuite) TestExecApiStartMultipleTimesError(c *check.C) {
 // #20638
 func (s *DockerSuite) TestExecApiStartWithDetach(c *check.C) {
 	name := "foo"
-	dockerCmd(c, "run", "-d", "-t", "--name", name, "busybox", "top")
+	runSleepingContainer(c, "-d", "-t", "--name", name)
 	data := map[string]interface{}{
 		"cmd":         []string{"true"},
 		"AttachStdin": true,