Fix unit tests on Darwin (#4458)
This commit is contained in:
@@ -202,7 +202,7 @@ func TestUDP_SerializeError(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestUDP_WriteWithRealConn(t *testing.T) {
|
||||
conn, err := net.ListenPacket("udp", "127.0.0.0:0")
|
||||
conn, err := net.ListenPacket("udp", "127.0.0.1:0")
|
||||
require.NoError(t, err)
|
||||
|
||||
metrics := []telegraf.Metric{
|
||||
|
||||
Reference in New Issue
Block a user