mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-12 03:19:36 +03:00
Fix some tests to use udp.PickPort() (#739)
This commit is contained in:
@ -512,7 +512,7 @@ func TestUDPConnection(t *testing.T) {
|
||||
common.Must(err)
|
||||
defer udpServer.Close()
|
||||
|
||||
clientPort := tcp.PickPort()
|
||||
clientPort := udp.PickPort()
|
||||
clientConfig := &core.Config{
|
||||
Inbound: []*core.InboundHandlerConfig{
|
||||
{
|
||||
|
Reference in New Issue
Block a user