Skip to content

Commit 0abd3d1

Browse files
committed
bind the listener to localhost on integration tests
Signed-off-by: Thiago Salles <[email protected]>
1 parent 00366c2 commit 0abd3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import (
3838
var localhostIP string
3939

4040
func init() {
41-
ln, err := net.Listen("tcp", ":8080")
41+
ln, err := net.Listen("tcp", "localhost:8080")
4242
if err != nil {
4343
return
4444
}

0 commit comments

Comments
 (0)