1
0
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:
v2ray 2016-07-14 21:31:54 +02:00
parent c32f1a0152
commit 906d846c2e
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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)