0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-12 11:29:36 +03:00

Fix some tests to use udp.PickPort() (#739)

This commit is contained in:
yuhan6665
2021-09-27 01:40:56 -04:00
committed by GitHub
parent 3b31189f13
commit ed39fc3b79
5 changed files with 8 additions and 7 deletions

View File

@ -446,7 +446,7 @@ func TestVMessGCMUDP(t *testing.T) {
},
}
clientPort := tcp.PickPort()
clientPort := udp.PickPort()
clientConfig := &core.Config{
App: []*serial.TypedMessage{
serial.ToTypedMessage(&log.Config{