Skip to content

Commit

Permalink
force use of ipv4 in test
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
  • Loading branch information
whyrusleeping committed Jan 10, 2016
1 parent ae53f1b commit ec1a886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/net/swarm/dial_test.go
Expand Up @@ -89,7 +89,7 @@ func TestSimultDials(t *testing.T) {

func newSilentPeer(t *testing.T) (peer.ID, ma.Multiaddr, net.Listener) {
dst := testutil.RandPeerIDFatal(t)
lst, err := net.Listen("tcp", ":0")
lst, err := net.Listen("tcp4", "0.0.0.0:0")
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit ec1a886

Please sign in to comment.