aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2022-04-25 11:14:48 -0400
committerGopher Robot <gobot@golang.org>2022-04-25 23:10:54 +0000
commit35f2aba2830483270249d4f34250e38af88bd33d (patch)
treea30ba60c29c53b44598447cf9805177822c8a76b
parent22a00f2b5c56211427530da4bfe0bac1a06fdf7c (diff)
downloadgo-35f2aba2830483270249d4f34250e38af88bd33d.tar.gz
go-35f2aba2830483270249d4f34250e38af88bd33d.zip
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 <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>
-rw-r--r--src/os/os_test.go3
1 files changed, 3 insertions, 0 deletions
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)