1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 01:27:03 -05:00
v2fly/testing
yuhan6665 d84ead3e00
Fix some tests to use udp.PickPort()
(cherry picked from commit 9458a1abd3, modified by committer)

In the previous version of the test code, when attempting to listen for a UDP socket, the port availability check check for TCP port instead of UDP port. This make it possible to select a UDP port that is unavailable.

See Also: https://github.com/v2fly/v2ray-core/pull/1302
2021-09-30 15:27:27 +01:00
..
mocks Feat: add queryStrategy option for DNS (#794) 2021-03-19 15:55:18 +08:00
scenarios Fix some tests to use udp.PickPort() 2021-09-30 15:27:27 +01:00
servers Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00