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:
yuhan6665 2024-01-12 21:56:22 -05:00
parent 7f7f57d3b6
commit 77376ed94f
4 changed files with 22 additions and 14 deletions

View file

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