浏览代码

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()