]> Cypherpunks repositories - gostls13.git/commit
os: deflake TestFdReadRace by increasing timeout
authorIan Lance Taylor <iant@golang.org>
Fri, 11 Oct 2019 18:39:30 +0000 (11:39 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 11 Oct 2019 19:58:27 +0000 (19:58 +0000)
commitc1ccae4d149ac23b376d17fdef486e631a92f775
treee92ef02d233fb651092426baaff5038b6aed7dfa
parentfd33b2c97491f566e85e2806cb5d08e711b35400
os: deflake TestFdReadRace by increasing timeout

This timeout will never be reached if the test passes, so it doesn't
much matter how long it is. The test is t.Parallel so on a slow system
1 second may occasionally not be enough, although on my laptop the
test takes about 0.02 seconds.

Fixes #34431

Change-Id: Ia2184e6be3747933bfe83aa6c8e1f77e6b1e0bba
Reviewed-on: https://go-review.googlesource.com/c/go/+/200764
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/os/pipe_test.go