ソースを参照

Merge pull request #23248 from Microsoft/jjh/flakeytest

Windows: Turn off TestBuildDockerignoreComment
Sebastiaan van Stijn 9 年 前
コミット
843720257b
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
 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"
 	dockerfile := `
         FROM busybox