From 35f2aba2830483270249d4f34250e38af88bd33d Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Mon, 25 Apr 2022 11:14:48 -0400 Subject: 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 --- src/os/os_test.go | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.2.3-54-g00ecf