1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-02 07:25:19 -05:00

Test: fix http2 dial timeout (#570)

* fix http2 dial timeout
This commit is contained in:
Kslr
2021-01-11 17:03:03 +08:00
committed by GitHub
parent 78e01a37c7
commit 405a051c50
2 changed files with 3 additions and 6 deletions

View File

@@ -583,7 +583,7 @@ func TestHTTP2(t *testing.T) {
var errg errgroup.Group
for i := 0; i < 10; i++ {
errg.Go(testTCPConn(clientPort, 10240*1024, time.Second*40))
errg.Go(testTCPConn(clientPort, 7168*1024, time.Second*40))
}
if err := errg.Wait(); err != nil {
t.Error(err)