mirror of
https://github.com/golang/go
synced 2024-11-23 13:50:06 -07:00
runtime: don't call t.Parallel in TestCgoSignalDeadlock
It seems that when too much other code is running on the system, the testprogcgo code can overrun its timeouts. Updates #18598. Not marking the issue as fixed until it doesn't recur for some time. Change-Id: Ieaf106b41986fdda76b1d027bb9d5e3fb805cc3b Reviewed-on: https://go-review.googlesource.com/48233 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
75f1de8329
commit
7e172509d9
@ -24,7 +24,10 @@ func TestCgoCrashHandler(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestCgoSignalDeadlock(t *testing.T) {
|
||||
t.Parallel()
|
||||
// Don't call t.Parallel, since too much work going on at the
|
||||
// same time can cause the testprogcgo code to overrun its
|
||||
// timeouts (issue #18598).
|
||||
|
||||
if testing.Short() && runtime.GOOS == "windows" {
|
||||
t.Skip("Skipping in short mode") // takes up to 64 seconds
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user