diff options
| author | Bryan C. Mills <bcmills@google.com> | 2023-01-25 11:53:03 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-01-25 20:45:53 +0000 |
| commit | 6e82febaf0ca737e82cc3f53de7245101821821c (patch) | |
| tree | 6d9220ad6eba4dd0b6aac9885a366d93db02dd07 /src/context/example_test.go | |
| parent | 1f29f39795e736238200840c368c4e0c6edbfbae (diff) | |
| download | go-6e82febaf0ca737e82cc3f53de7245101821821c.tar.xz | |
os: eliminate arbitrary timeout in testClosewithBlockingRead
The 1-second timeout on execution of this test is empirically too
short on some platforms. Rather than trying to tune the timeout, allow
the test to time out on its own (and dump goroutines) if it deadlocks.
Fixes #57993.
Fixes #57994.
Change-Id: I69ee86c75034469e4b4cd391b8dc5616b93468b8
Reviewed-on: https://go-review.googlesource.com/c/go/+/463180
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/context/example_test.go')
0 files changed, 0 insertions, 0 deletions
