Commit ec9e3e62 authored by Alex Brainman's avatar Alex Brainman

net: wait longer before failing TestVariousDeadlines4Proc on windows

This is an attempt to make our slow
windows-386 builder more reliable.

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/12798045
parent 6383896f
......@@ -496,7 +496,10 @@ func testVariousDeadlines(t *testing.T, maxProcs int) {
clientc <- copyRes{n, err, d}
}()
const tooLong = 2000 * time.Millisecond
tooLong := 2 * time.Second
if runtime.GOOS == "windows" {
tooLong = 5 * time.Second
}
select {
case res := <-clientc:
if isTimeout(res.err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment