mirror of
https://github.com/golang/go
synced 2024-11-05 15:26:15 -07:00
expvar: fix build
Change-Id: I6ee7aa76673e51576b5a84c512b22a0f8af5b02f Reviewed-on: https://go-review.googlesource.com/3966 Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
This commit is contained in:
parent
fc22fb8f0c
commit
08ca401444
@ -271,7 +271,7 @@ func BenchmarkRealworldExpvarUsage(b *testing.B) {
|
||||
// Setup P client/server connections.
|
||||
clients := make([]net.Conn, P)
|
||||
servers := make([]net.Conn, P)
|
||||
ln, err := net.Listen("tcp", laddr)
|
||||
ln, err := net.Listen("tcp", "127.0.0.1:0")
|
||||
if err != nil {
|
||||
b.Fatalf("Listen failed: %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user