1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-05 07:50:24 +08:00

fix(udplite): wrong listening addr

This commit is contained in:
源文雨
2024-07-18 15:52:50 +09:00
parent 9d986bb1d7
commit 763b9e3d77
2 changed files with 8 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ import (
"crypto/rand"
"encoding/hex"
"io"
"runtime"
"strings"
"testing"
"time"
@@ -193,6 +194,9 @@ func TestTunnelUDPSmallMTU(t *testing.T) {
}
func TestTunnelUDPLite(t *testing.T) {
if runtime.GOOS == "darwin" {
return
}
logrus.SetLevel(logrus.DebugLevel)
logrus.SetFormatter(&logFormat{enableColor: false})
@@ -209,6 +213,9 @@ func TestTunnelUDPLite(t *testing.T) {
}
func TestTunnelUDPLiteSmallMTU(t *testing.T) {
if runtime.GOOS == "darwin" {
return
}
logrus.SetLevel(logrus.DebugLevel)
logrus.SetFormatter(&logFormat{enableColor: false})