mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-29 13:35:20 -05:00
more time for testing
This commit is contained in:
@@ -371,7 +371,7 @@ func TestTLSOverWebSocket(t *testing.T) {
|
||||
assert.Error(err).IsNil()
|
||||
assert.Int(nBytes).Equals(len(payload))
|
||||
|
||||
response := readFrom(conn, time.Second*10, len(payload))
|
||||
response := readFrom(conn, time.Second*20, len(payload))
|
||||
assert.Bytes(response).Equals(xor([]byte(payload)))
|
||||
assert.Error(conn.Close()).IsNil()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user