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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 7 deletions

View file

@ -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{