]> Cypherpunks repositories - gostls13.git/commit
runtime: remove crash_cgo_test CgoRaceSignal timeout
authorIan Lance Taylor <iant@golang.org>
Thu, 11 May 2023 21:01:02 +0000 (14:01 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 12 May 2023 01:46:05 +0000 (01:46 +0000)
commita25688d406f2a4296d39b22a2b10aea7178eddc6
tree59a19eac1e2f15f94ff5e068fc777598268541e9
parente2500be54947186d82c7f4bd93468fdff8a23837
runtime: remove crash_cgo_test CgoRaceSignal timeout

The test had a 5 second timeout. Running the test on a Darwin system
sometimes took less than 5 seconds but often took up to 8 seconds.
We don't need a timeout anyhow. Instead, use testenv.Command to
run the program, which uses the test timeout.

Fixes #59807

Change-Id: Ibf3eda9702731bf98601782f4abd11c3caa0bf40
Reviewed-on: https://go-review.googlesource.com/c/go/+/494456
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/runtime/crash_cgo_test.go
src/runtime/testdata/testprogcgo/racesig.go