mirror of
https://github.com/golang/go
synced 2024-11-16 18:04:39 -07:00
runtime: skip TestSegv/SegvInCgo earlier on ios
It appears to sometimes hang instead of crashing, which can cause subsequent tests to time out. For #59947. Change-Id: Id4ac3c0cd5f7f345334d3e0ed3f48e40b9ff191c Reviewed-on: https://go-review.googlesource.com/c/go/+/492075 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Bryan Mills <bcmills@google.com>
This commit is contained in:
parent
ca49b8d7af
commit
dcd1c31032
@ -643,6 +643,10 @@ func TestSegv(t *testing.T) {
|
||||
}
|
||||
|
||||
t.Run(test, func(t *testing.T) {
|
||||
if test == "SegvInCgo" && runtime.GOOS == "ios" {
|
||||
testenv.SkipFlaky(t, 59947) // Don't even try, in case it times out.
|
||||
}
|
||||
|
||||
t.Parallel()
|
||||
got := runTestProg(t, "testprogcgo", test)
|
||||
t.Log(got)
|
||||
|
Loading…
Reference in New Issue
Block a user