Skip to content

Commit

Permalink
runtime: skip TestNoShrinkStackWhileParking on netbsd/arm64
Browse files Browse the repository at this point in the history
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 <[email protected]>
Trust: Benny Siegert <[email protected]>
Run-TryBot: Bryan C. Mills <[email protected]>
Reviewed-by: Benny Siegert <[email protected]>
  • Loading branch information
Bryan C. Mills committed Nov 5, 2021
1 parent df18377 commit 53bab19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/runtime/chan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 53bab19

Please sign in to comment.