mirror of
https://github.com/golang/go
synced 2024-09-25 11:20:13 -06:00
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/9401 Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
7c7cd69591
commit
f774e6a1f8
2
src/runtime/race/testdata/io_test.go
vendored
2
src/runtime/race/testdata/io_test.go
vendored
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user