소스 검색

update test performance

v2ray 9 년 전
부모
커밋
d602025908
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {