Fix "dial tcp 127.0.0.1:63890: getsockopt: connection refused"
Since 2d04cf08cb3413ba9c7271a1884ceca00c56c7e2 ("Test with IPv6 by default, and IPv4 only if that fails."), the test runner listens on ::1 by default instead of 127.0.0.1.
This commit is contained in:
parent
87979f9592
commit
8d196e3081
@ -53,7 +53,7 @@ func main() {
|
||||
}
|
||||
|
||||
for i := 0; i < *resumeCount+1; i++ {
|
||||
conn, err := net.Dial("tcp", net.JoinHostPort("127.0.0.1", *port))
|
||||
conn, err := net.Dial("tcp", net.JoinHostPort("localhost", *port))
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user