]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: don't run TestCrashDumpsAllThreads in parallel
authorIan Lance Taylor <iant@golang.org>
Wed, 21 Apr 2021 23:44:59 +0000 (16:44 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 22 Apr 2021 00:34:25 +0000 (00:34 +0000)
commit02a8e836616cb8eb6d776514c6239095b1328fd2
tree59a2e4c445bc285ff917cd739a8b0601ad07afae
parent7bedd477980175aecda5feb782e88041e86c2756
runtime: don't run TestCrashDumpsAllThreads in parallel

It sometimes seems to time out on slow systems, perhaps due to
being run at the same time as a lot of other work.

Also move the code to testdata/testprog, so that we don't have to
build it separately.

I hope that this
Fixes #35356

Change-Id: I875b858fa23836513ae14d3116461e22fffd5352
Reviewed-on: https://go-review.googlesource.com/c/go/+/312510
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/crash_unix_test.go
src/runtime/testdata/testprog/crashdump.go [new file with mode: 0644]