mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Explicitly set ip in tests
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ func TestTCPOutput(t *testing.T) {
|
||||
}
|
||||
|
||||
func startTCP(cb func([]byte)) net.Listener {
|
||||
listener, err := net.Listen("tcp", ":0")
|
||||
listener, err := net.Listen("tcp", "127.0.0.1:0")
|
||||
|
||||
if err != nil {
|
||||
log.Fatal("Can't start:", err)
|
||||
|
||||
Reference in New Issue
Block a user