mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-03 07:56:42 -05:00
update test case
This commit is contained in:
parent
c32f1a0152
commit
906d846c2e
@ -52,7 +52,7 @@ func TestDialAndListen(t *testing.T) {
|
||||
go func() {
|
||||
clientSend := make([]byte, 1024*1024)
|
||||
rand.Read(clientSend)
|
||||
clientConn.Write(clientSend)
|
||||
go clientConn.Write(clientSend)
|
||||
|
||||
clientReceived := make([]byte, 1024*1024)
|
||||
nBytes, _ := io.ReadFull(clientConn, clientReceived)
|
||||
|
Loading…
Reference in New Issue
Block a user