]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.regabi] os: disable TestDirFS until #42637 is fixed
authorMatthew Dempsky <mdempsky@google.com>
Mon, 25 Jan 2021 05:26:14 +0000 (21:26 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 25 Jan 2021 18:06:58 +0000 (18:06 +0000)
This test is causing nearly every trybot run on dev.regabi and
dev.typeparams to fail. It's already a release blocker for Go 1.16, so
the failures on the development branches is entirely noise; and
because it causes the trybots to short-circuit, it risks masking
actual Windows-specific failures.

This CL disables the test until a proper solution is decided upon and
implemented for Go 1.16.

Updates #42637.

Change-Id: Ibc85edaed591f1c125cf0b210867aa89d2b0a4b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/286213
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Trust: Matthew Dempsky <mdempsky@google.com>
Trust: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/os/os_test.go

index 698dbca91e4a3ba59a921a8a0d90004b29e85a90..c02dc2c375255afdc739fecdd70350a11f5f1453 100644 (file)
@@ -2689,6 +2689,9 @@ func TestOpenFileKeepsPermissions(t *testing.T) {
 }
 
 func TestDirFS(t *testing.T) {
+       if runtime.GOOS == "windows" {
+               t.Skip("workaround for dev.regabi/dev.typeparams until #42637 is fixed")
+       }
        if err := fstest.TestFS(DirFS("./testdata/dirfs"), "a", "b", "dir/x"); err != nil {
                t.Fatal(err)
        }