Ver Fonte

update test performance

v2ray há 9 anos atrás
pai
commit
d602025908
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      transport/internet/kcp/kcp_test.go

+ 1 - 1
transport/internet/kcp/kcp_test.go

@@ -27,7 +27,7 @@ func TestDialAndListen(t *testing.T) {
 				break
 			}
 			go func() {
-				payload := make([]byte, 1024)
+				payload := make([]byte, 4096)
 				for {
 					nBytes, err := conn.Read(payload)
 					if err != nil {