trace readv test

pull/1269/head
Darien Raymond 2018-08-25 22:23:30 +02:00
parent 66a391cafe
commit 5baf839fcf
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package buf_test
import (
"crypto/rand"
"fmt"
"net"
"testing"
@ -50,6 +51,7 @@ func TestReadvReader(t *testing.T) {
t.Fatal("unexpected error: ", err)
}
rmb.AppendMulti(mb)
fmt.Println("Len=", rmb.Len())
if rmb.Len() == size {
break
}