Browse Source

extend kcp timeout settings

Darien Raymond 7 năm trước cách đây
mục cha
commit
e4254bbde9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()