1
0
mirror of https://github.com/golang/go synced 2024-11-19 23:24:45 -07:00

net: fix timeout test bug

This was supposed to be in CL 18205 but I submitted via the web
instead of from my computer, so it got lost.
May deflake some things.

Change-Id: I880fb74b5943b8a17f952a82639c60126701187a
Reviewed-on: https://go-review.googlesource.com/18259
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Russ Cox 2016-01-06 10:53:16 -05:00
parent 13ba968d75
commit aec2f0cf85

View File

@ -996,7 +996,6 @@ func TestReadWriteDeadlineRace(t *testing.T) {
if testing.Short() {
N = 50
}
defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(4))
ln, err := newLocalListener("tcp")
if err != nil {