浏览代码

Windows: Turn off TestBuildDockerignoreComment

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 9 年之前
父节点
当前提交
d75aaa2ca0
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      integration-cli/docker_cli_build_test.go

+ 5 - 0
integration-cli/docker_cli_build_test.go

@@ -6758,6 +6758,11 @@ func (s *DockerSuite) TestBuildDeleteCommittedFile(c *check.C) {
 
 
 // #20083
 // #20083
 func (s *DockerSuite) TestBuildDockerignoreComment(c *check.C) {
 func (s *DockerSuite) TestBuildDockerignoreComment(c *check.C) {
+	// TODO Windows: Figure out why this test is flakey on TP5. If you add
+	// something like RUN sleep 5, or even RUN ls /tmp after the ADD line,
+	// it is more reliable, but that's not a good fix.
+	testRequires(c, DaemonIsLinux)
+
 	name := "testbuilddockerignorecleanpaths"
 	name := "testbuilddockerignorecleanpaths"
 	dockerfile := `
 	dockerfile := `
         FROM busybox
         FROM busybox