go/src/runtime/testdata
Bryan C. Mills ee0d40cba4 runtime: reduce timing sensitivity in TestEINTR
- Don't assume that a process interrupted at 100μs intervals will have
  enough remaining time to make progress. (Stop sending signals
  in between signal storms to allow the process to quiesce.)

- Don't assume that a child process that spins for 1ms will block long
  enough for the parent process to receive signals or make meaningful
  progress. (Instead, have the child block indefinitely, and unblock
  it explicitly after the signal storm.)

For #39043
Updates #22838
Updates #20400

Change-Id: I85cba23498c346a637e6cfe8684ca0c478562a93
Reviewed-on: https://go-review.googlesource.com/c/go/+/233877
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-05-13 17:48:20 +00:00
..
testfaketime runtime: platform-independent faketime support 2019-09-04 17:56:53 +00:00
testprog runtime: use first line of cpuset output on FreeBSD 2020-05-08 20:24:33 +00:00
testprogcgo runtime: reduce timing sensitivity in TestEINTR 2020-05-13 17:48:20 +00:00
testprognet all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
testwinlib runtime: do not crash in lastcontinuehandler when running as DLL 2019-08-31 00:47:27 +00:00
testwinlibsignal runtime: do not exit(2) if a Go built DLL receives a signal 2020-02-29 10:21:33 +00:00