From aec2f0cf855ac2d2b79ca3178dcd9f63c0b5afb0 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 6 Jan 2016 10:53:16 -0500 Subject: [PATCH] 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 --- src/net/timeout_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/net/timeout_test.go b/src/net/timeout_test.go index 5832306591..98e3164fb9 100644 --- a/src/net/timeout_test.go +++ b/src/net/timeout_test.go @@ -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 { -- 2.48.1