mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-14 12:29:36 +03:00
Fix some tests to use udp.PickPort() (#739)
This commit is contained in:
@ -156,7 +156,7 @@ func TestDokodemoUDP(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
clientPort := uint32(tcp.PickPort())
|
||||
clientPort := uint32(udp.PickPort())
|
||||
clientPortRange := uint32(5)
|
||||
clientConfig := &core.Config{
|
||||
Inbound: []*core.InboundHandlerConfig{
|
||||
|
Reference in New Issue
Block a user