From: Bryan C. Mills Date: Mon, 25 Apr 2022 15:14:48 +0000 (-0400) Subject: os: skip TestRemoveAllRace on dragonfly X-Git-Tag: go1.19beta1~550 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=35f2aba2830483270249d4f34250e38af88bd33d;p=gostls13.git os: skip TestRemoveAllRace on dragonfly 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 Auto-Submit: Bryan Mills TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor --- diff --git a/src/os/os_test.go b/src/os/os_test.go index d071b47058..df00f165da 100644 --- a/src/os/os_test.go +++ b/src/os/os_test.go @@ -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)