diff options
| author | Ian Lance Taylor <iant@golang.org> | 2021-05-26 15:17:27 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2021-05-26 23:33:38 +0000 |
| commit | 3075ffc93e962792ddf43b2a528ef19b1577ffb7 (patch) | |
| tree | 62a7bbf1c6a3903018f677e45178a137cfda24dd /src/net/http | |
| parent | a62c08734f8e2fc5333036e3a069a55288d1f674 (diff) | |
| download | go-3075ffc93e962792ddf43b2a528ef19b1577ffb7.tar.xz | |
os: deflake TestFdReadRace
The test would hang if the call to Fd set the pipe to be non-blocking
before the Read entered the first read system call. Avoid that problem
by writing data to the pipe to wake up the read.
For #24481
Fixes #44818
Change-Id: I0b798874c7b81e7308a38ebbf657efc4392ffacd
Reviewed-on: https://go-review.googlesource.com/c/go/+/322893
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions
