aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2022-07-01 12:56:39 -0400
committerCherry Mui <cherryyz@google.com>2022-07-06 14:23:50 +0000
commit4484c30f788835d8dda0afcefdb12e4b25b2c312 (patch)
tree47f702c1009613bede9948426f22a12a8ff36764 /src/os/exec/exec.go
parent2007599dc83aff17d8261338e8d2ab1f2c518a9b (diff)
downloadgo-4484c30f788835d8dda0afcefdb12e4b25b2c312.tar.xz
misc/cgo/test: make TestSetgidStress cheaper
TestSetgidStress spawns 1000 threads, which can be expensive on some platforms or slow builders. Run with 50 threads in short mode instead. This makes the failure less reproducible even with buggy code. But one can manually stress test it (e.g. when a flaky failure appear on the builder). Fixes #53641. Change-Id: I33b5ea5ecaa8c7a56f59c16f9171657ee295db47 Reviewed-on: https://go-review.googlesource.com/c/go/+/415677 Reviewed-by: Austin Clements <austin@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions