mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 12:27:43 +08:00
force use of ipv4 in test
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
parent
1fbbd1de15
commit
3916e73eca
@ -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)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user