Skip to content

Commit

Permalink
Change listening port in test
Browse files Browse the repository at this point in the history
127.0.0.133:54321 fails to bind on macOS
  • Loading branch information
Sean-Der committed Apr 4, 2024
1 parent 57c4727 commit 85b7d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func TestServer(t *testing.T) {
assert.NoError(t, conn.Close())

// Enforce filtered source address
conn2, err := net.ListenPacket("udp4", "127.0.0.133:54321")
conn2, err := net.ListenPacket("udp4", "127.0.0.1:12321")
assert.NoError(t, err)

client2, err := NewClient(&ClientConfig{
Expand Down

0 comments on commit 85b7d47

Please sign in to comment.