mirror of
https://github.com/golang/go
synced 2024-11-18 04:04:49 -07:00
net: update renamed test name in comment
TestSelfConnect from CL 5650071 was renamed TestTCPSelfConnect in CL 21447. Change-Id: I0de110dbe1da77bfba540a1b51c139f3bedae67f Reviewed-on: https://go-review.googlesource.com/c/go/+/213437 Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
parent
9d3d4461a5
commit
0a61a195d7
@ -174,7 +174,7 @@ func dialClosedPort(t *testing.T) (actual, expected time.Duration) {
|
|||||||
}
|
}
|
||||||
addr := l.Addr().String()
|
addr := l.Addr().String()
|
||||||
l.Close()
|
l.Close()
|
||||||
// On OpenBSD, interference from TestSelfConnect is mysteriously
|
// On OpenBSD, interference from TestTCPSelfConnect is mysteriously
|
||||||
// causing the first attempt to hang for a few seconds, so we throw
|
// causing the first attempt to hang for a few seconds, so we throw
|
||||||
// away the first result and keep the second.
|
// away the first result and keep the second.
|
||||||
for i := 1; ; i++ {
|
for i := 1; ; i++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user