ソースを参照

extend kcp timeout settings

Darien Raymond 7 年 前
コミット
e4254bbde9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      testing/scenarios/vmess_test.go

+ 1 - 1
testing/scenarios/vmess_test.go

@@ -784,7 +784,7 @@ func TestVMessKCP(t *testing.T) {
 			assert(err, IsNil)
 			assert(nBytes, Equals, len(payload))
 
-			response := readFrom(conn, time.Minute, 10240*1024)
+			response := readFrom(conn, time.Minute*2, 10240*1024)
 			assert(response, Equals, xor(payload))
 			assert(conn.Close(), IsNil)
 			wg.Done()