aboutsummaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2021-12-16 10:40:47 -0500
committerBryan Mills <bcmills@google.com>2021-12-17 01:59:32 +0000
commit63077bfcf563e3f2ef96fa51203ed2fad71a371c (patch)
tree9e11bcf69dbe011a522bb7b4a5191ebe4030a71e /src/os
parent2e6e9df2c1242274b02b584c617947aeed39c398 (diff)
downloadgo-63077bfcf563e3f2ef96fa51203ed2fad71a371c.tar.gz
go-63077bfcf563e3f2ef96fa51203ed2fad71a371c.zip
os/exec: skip TestContextCancel on netbsd/arm64
For #42061 Change-Id: I3b4c774ad9e375d4bfef1cfb4336c35ed30a6430 Reviewed-on: https://go-review.googlesource.com/c/go/+/372795 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/os')
-rw-r--r--src/os/exec/exec_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/exec/exec_test.go b/src/os/exec/exec_test.go
index 92992a6d66..73aa35f1ae 100644
--- a/src/os/exec/exec_test.go
+++ b/src/os/exec/exec_test.go
@@ -954,6 +954,10 @@ func TestContext(t *testing.T) {
}
func TestContextCancel(t *testing.T) {
+ if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {
+ testenv.SkipFlaky(t, 42061)
+ }
+
// To reduce noise in the final goroutine dump,
// let other parallel tests complete if possible.
t.Parallel()