diff options
| author | Bryan C. Mills <bcmills@google.com> | 2021-11-05 10:11:11 -0400 |
|---|---|---|
| committer | Bryan C. Mills <bcmills@google.com> | 2021-11-05 18:20:07 +0000 |
| commit | 53bab198d93153f0123cb806ebb2b5c9ebbe8dc7 (patch) | |
| tree | fabc188e551689f64d06579e7a405ed781faa895 /src | |
| parent | df1837799d418eed6b4921cd1252dd8eae76cd98 (diff) | |
| download | go-53bab198d93153f0123cb806ebb2b5c9ebbe8dc7.tar.xz | |
runtime: skip TestNoShrinkStackWhileParking on netbsd/arm64
This test appears to deadlock frequently on the only netbsd-arm64
builder we have (netbsd-arm64-bsiegert). Skip the test to provide
more useful test coverage for other failures.
For #49382
Change-Id: I3be32f58ce1e396f7c69163e70cf58f779f57ac6
Reviewed-on: https://go-review.googlesource.com/c/go/+/361615
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Benny Siegert <bsiegert@gmail.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/runtime/chan_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/chan_test.go b/src/runtime/chan_test.go index c9ce3ac643..355267c5e3 100644 --- a/src/runtime/chan_test.go +++ b/src/runtime/chan_test.go @@ -624,6 +624,10 @@ func TestShrinkStackDuringBlockedSend(t *testing.T) { } func TestNoShrinkStackWhileParking(t *testing.T) { + if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" { + testenv.SkipFlaky(t, 49382) + } + // The goal of this test is to trigger a "racy sudog adjustment" // throw. Basically, there's a window between when a goroutine // becomes available for preemption for stack scanning (and thus, |
