Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

don't listen on all interfaces in tests #73

Merged
merged 1 commit into from
Mar 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
don't listen on all interfaces in tests
  • Loading branch information
marten-seemann committed Feb 25, 2021
commit 5fc93cfaeb4a6db0a987910f4c5a591ecb937e1b
2 changes: 1 addition & 1 deletion listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func createListener(t *testing.T, upgrader *st.Upgrader) transport.Listener {
t.Helper()
require := require.New(t)

addr, err := ma.NewMultiaddr("/ip4/0.0.0.0/tcp/0")
addr, err := ma.NewMultiaddr("/ip4/127.0.0.1/tcp/0")
require.NoError(err)

ln, err := manet.Listen(addr)
Expand Down