1
0
mirror of https://github.com/golang/go synced 2024-11-06 13:46:16 -07:00
go/misc/cgo/testcshared
Ian Lance Taylor 0a129dbca6 misc/cgo/testcshared: use file descriptor 30 for TestUnexportedSymbols
We were using file descriptor 100, which requires the Linux kernel to
grow the fdtable size. That step may sometimes require a long time,
causing the test to fail. Switch to file descriptor 30, which should
not require growing the fdtable.

Fixes #23784

Change-Id: I3ac40d6f8569c70d34b470cfca34eff149bf8229
Reviewed-on: https://go-review.googlesource.com/108537
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
2018-04-21 04:18:51 +00:00
..
src misc/cgo/testcshared: use file descriptor 30 for TestUnexportedSymbols 2018-04-21 04:18:51 +00:00
cshared_test.go all: enable c-shared/c-archive support for freebsd/amd64 2018-03-21 21:56:20 +00:00
main0.c runtime: use hardware divider to improve performance 2017-04-11 12:25:55 +00:00
main1.c
main2.c misc/cgo/testcshared: use file descriptor 30 for TestUnexportedSymbols 2018-04-21 04:18:51 +00:00
main3.c misc/cgo/testcshared: add a c-shared test for android/arm. 2015-04-24 16:32:31 +00:00
main4.c misc/cgo: decrease test failure timeouts 2016-11-17 16:31:34 +00:00
main5.c misc/cgo: decrease test failure timeouts 2016-11-17 16:31:34 +00:00