mirror of https://github.com/v2ray/v2ray-core
more time
parent
e128f4de42
commit
00822812d4
|
@ -126,7 +126,7 @@ func TestShadowsocksAES256TCP(t *testing.T) {
|
|||
assert.Error(err).IsNil()
|
||||
assert.Int(nBytes).Equals(len(payload))
|
||||
|
||||
response := readFrom(conn, time.Second*10, 10240*1024)
|
||||
response := readFrom(conn, time.Second*20, 10240*1024)
|
||||
assert.Bytes(response).Equals(xor([]byte(payload)))
|
||||
assert.Error(conn.Close()).IsNil()
|
||||
wg.Done()
|
||||
|
@ -243,7 +243,7 @@ func TestShadowsocksChacha20TCP(t *testing.T) {
|
|||
assert.Error(err).IsNil()
|
||||
assert.Int(nBytes).Equals(len(payload))
|
||||
|
||||
response := readFrom(conn, time.Second*10, 10240*1024)
|
||||
response := readFrom(conn, time.Second*20, 10240*1024)
|
||||
assert.Bytes(response).Equals(xor([]byte(payload)))
|
||||
assert.Error(conn.Close()).IsNil()
|
||||
wg.Done()
|
||||
|
|
Loading…
Reference in New Issue