1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 01:27:03 -05:00
v2fly/testing/scenarios
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
..
command_test.go replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
common_coverage.go improve commands 2021-09-04 11:11:45 +01:00
common_regular.go improve commands 2021-09-04 11:11:45 +01:00
common.go integrate ioutil migration in test 2021-09-29 09:25:23 +01:00
dns_test.go update test for router refactor 2021-09-07 13:43:28 +01:00
dokodemo_test.go Fix some tests to use udp.PickPort() 2021-09-30 15:27:27 +01:00
feature_test.go Fix some tests to use udp.PickPort() 2021-09-30 15:27:27 +01:00
http_test.go integrate ioutil migration in test 2021-09-29 09:25:23 +01:00
policy_test.go replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
reverse_test.go update test for router refactor 2021-09-07 13:43:28 +01:00
shadowsocks_test.go Fix some tests to use udp.PickPort() 2021-09-30 15:27:27 +01:00
socks_test.go replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
tls_test.go replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
transport_test.go Fix some tests to use udp.PickPort() 2021-09-30 15:27:27 +01:00
vmess_test.go Fix some tests to use udp.PickPort() 2021-09-30 15:27:27 +01:00