1
0
mirror of https://github.com/golang/go synced 2024-11-26 15:06:52 -07:00
go/misc/cgo/test
Cherry Mui 4484c30f78 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>
2022-07-06 14:23:50 +00:00
..
testdata cmd/cgo: dont override declared struct type 2022-06-22 16:21:49 +00:00
backdoor.go
buildid_linux.go
callback_c_gc.c
callback_c_gccgo.c
callback_c.c misc/cgo/test: remove timing dependency from TestParallelSleep 2022-04-21 18:43:55 +00:00
callback.go
cgo_linux_test.go cmd/internal/obj/arm64: save LR and SP in one instruction for small frames 2022-06-29 22:26:58 +00:00
cgo_stubs_android_test.go
cgo_test.go misc/cgo/test: remove timing dependency from TestParallelSleep 2022-04-21 18:43:55 +00:00
cgo_thread_lock.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
cgo_unix_test.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
cthread_unix.c
cthread_windows.c
issue1435.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue4029.c
issue4029.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue4029w.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue4273.c
issue4273b.c
issue4339.c
issue4339.h
issue5548_c.c
issue5740a.c
issue5740b.c
issue6833_c.c
issue6907export_c.c
issue6997_linux.c
issue6997_linux.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue7234_test.go
issue8148.c misc/cgo/test: do not redeclare exported Go functions 2021-04-23 21:42:52 +00:00
issue8148.go misc/cgo/test: do not redeclare exported Go functions 2021-04-23 21:42:52 +00:00
issue8331.h
issue8517_windows.c
issue8517_windows.go
issue8517.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue8694.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue8811.c
issue18146.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue20910.c
issue21897.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue21897b.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue31891.c
issue42018_windows.go cmd/cgo: add go:notinheap annotation to Windows handle types 2021-09-22 18:10:24 +00:00
issue42018.go cmd/cgo: add go:notinheap annotation to Windows handle types 2021-09-22 18:10:24 +00:00
issue42495.go
overlaydir_test.go
pkg_test.go all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
setgid2_linux.go misc/cgo/test: make TestSetgidStress cheaper 2022-07-06 14:23:50 +00:00
setgid_linux.go all: simplify the spelling of Linux 2021-04-13 13:56:21 +00:00
sigaltstack.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
sigprocmask.c
sigprocmask.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
test_unix.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
test_windows.go
test.go misc/cgo/test: disable unhelpful GCC warning 2022-02-03 22:55:24 +00:00
testx.c misc/cgo/test: do not redeclare exported Go functions 2021-04-23 21:42:52 +00:00
testx.go misc/cgo/test: remove timing dependency from TestParallelSleep 2022-04-21 18:43:55 +00:00
typeparam.go cmd/cgo: update to handle ast.IndexListExpr 2021-10-07 18:02:14 +00:00