Explorar o código

extend kcp timeout settings

Darien Raymond %!s(int64=7) %!d(string=hai) anos
pai
achega
e4254bbde9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()