Commit f774e6a1 authored by Russ Cox's avatar Russ Cox

runtime/race: stop listening to external network addresses

This makes the OS X firewall box pop up.
Not run during all.bash so hasn't been noticed before.

Change-Id: I78feb4fd3e1d3c983ae3419085048831c04de3da
Reviewed-on: https://go-review.googlesource.com/9401Reviewed-by: default avatarAustin Clements <austin@google.com>
parent 7c7cd695
......@@ -49,7 +49,7 @@ func TestNoRaceIOHttp(t *testing.T) {
fmt.Fprintf(w, "test")
x = 42
})
err := http.ListenAndServe(":23651", nil)
err := http.ListenAndServe("127.0.0.1:23651", nil)
if err != nil {
t.Fatalf("http.ListenAndServe: %v", err)
}
......
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