aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/race/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/race/testdata')
-rw-r--r--src/runtime/race/testdata/io_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/race/testdata/io_test.go b/src/runtime/race/testdata/io_test.go
index 9eb3552dc7..1b3ee3822b 100644
--- a/src/runtime/race/testdata/io_test.go
+++ b/src/runtime/race/testdata/io_test.go
@@ -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)
}