]> Cypherpunks repositories - gostls13.git/commitdiff
os: skip TestRemoveAllRace on dragonfly
authorBryan C. Mills <bcmills@google.com>
Mon, 25 Apr 2022 15:14:48 +0000 (11:14 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 25 Apr 2022 23:10:54 +0000 (23:10 +0000)
This test occasionally fails on the dragonfly-amd64 builder with
"directory not empty". Since that is the only platform on which we
observe these failures, and since the test had a different (and also
invalid-looking) failure mode prior to this one (in #50716), we
suspect that it is due to either a bug in the platform or a
platform-specific Go bug.

For #52301.

Change-Id: Id36c499651b9c48e6b8b0107d01f73d2a7b6bab8
Reviewed-on: https://go-review.googlesource.com/c/go/+/402155
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/os/os_test.go

index d071b4705814ac31a9348568ccbb6f0854f301d0..df00f165daeca0b7059855708690e17e1d03d2c8 100644 (file)
@@ -2429,6 +2429,9 @@ func TestRemoveAllRace(t *testing.T) {
                // like it does on Unix.
                t.Skip("skipping on windows")
        }
+       if runtime.GOOS == "dragonfly" {
+               testenv.SkipFlaky(t, 52301)
+       }
 
        n := runtime.GOMAXPROCS(16)
        defer runtime.GOMAXPROCS(n)