Commit 81627f0e authored by Mikio Hara's avatar Mikio Hara Committed by Brad Fitzpatrick

net: deflake TestAcceptTimeout again

This is a followup to CL 33257.

It looks like active close operation at passive open side sometimes
takes a bit long time on Darwin.

Fixes #17948.

Change-Id: Ida17639c4e66a43e1be1f74fd0ef3baddde25092
Reviewed-on: https://go-review.googlesource.com/33258
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 9f5673d9
...@@ -176,8 +176,6 @@ func TestAcceptTimeout(t *testing.T) { ...@@ -176,8 +176,6 @@ func TestAcceptTimeout(t *testing.T) {
t.Error(err) t.Error(err)
return return
} }
var b [1]byte
c.Read(b[:])
c.Close() c.Close()
}() }()
} }
......
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