1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-01 00:39:07 -04:00

update test case

This commit is contained in:
v2ray
2016-07-14 21:31:54 +02:00
parent c32f1a0152
commit 906d846c2e

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)