mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
Reduce size and time of UDP test
In the past, the UDP test in mass parallel proved to be the source of instability. This change try to improve pass rate.
This commit is contained in:
parent
7f7f57d3b6
commit
77376ed94f
4 changed files with 22 additions and 14 deletions
|
@ -171,7 +171,7 @@ func TestDokodemoUDP(t *testing.T) {
|
|||
common.Must(err)
|
||||
defer CloseServer(server)
|
||||
|
||||
clientPortRange := uint32(5)
|
||||
clientPortRange := uint32(3)
|
||||
retry := 1
|
||||
clientPort := uint32(udp.PickPort())
|
||||
for {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue