Browse Source

trace readv test

pull/1269/head
Darien Raymond 6 years ago
parent
commit
5baf839fcf
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 2
      common/buf/readv_test.go

2
common/buf/readv_test.go

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

Loading…
Cancel
Save