mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 17:38:41 +00:00
Fix some tests to use udp.PickPort() (#739)
This commit is contained in:
parent
3b31189f13
commit
ed39fc3b79
5 changed files with 8 additions and 7 deletions
|
@ -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{
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue