瀏覽代碼

Fix TestExecApiStartWithDetach on WindowsTP4

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Vincent Demeester 9 年之前
父節點
當前提交
21c8511123
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,