net: extend TestVariousDeadlines1Proc timeout

TestVariousDeadlines1Proc was flaky on my system,
failing on about 5% of runs.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/89830045
This commit is contained in:
Josh Bleecher Snyder 2014-04-21 13:07:51 -07:00
parent 800d8adf35
commit 9cddb60d25
1 changed files with 1 additions and 4 deletions

View File

@ -494,10 +494,7 @@ func testVariousDeadlines(t *testing.T, maxProcs int) {
clientc <- copyRes{n, err, d}
}()
tooLong := 2 * time.Second
if runtime.GOOS == "windows" {
tooLong = 5 * time.Second
}
tooLong := 5 * time.Second
select {
case res := <-clientc:
if isTimeout(res.err) {