From e7afaa3f50995030dcd06b1583ef3fc6e1858845 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 19 Feb 2019 20:36:36 +1100 Subject: [PATCH] Fix failing tests? --- p2p/net/swarm/dial_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/p2p/net/swarm/dial_test.go b/p2p/net/swarm/dial_test.go index dd93bd7cec..c9d0d5dda0 100644 --- a/p2p/net/swarm/dial_test.go +++ b/p2p/net/swarm/dial_test.go @@ -150,7 +150,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") if err != nil { t.Fatal(err) } @@ -168,7 +168,6 @@ func newSilentPeer(t *testing.T) (peer.ID, ma.Multiaddr, net.Listener) { } func TestDialWait(t *testing.T) { - // t.Skip("skipping for another test") t.Parallel() ctx := context.Background()