Browse Source

adjust test

pull/1293/head
Chris Lu 5 years ago
parent
commit
c3f9fdf48f
  1. 4
      weed/util/log_buffer/log_buffer_test.go

4
weed/util/log_buffer/log_buffer_test.go

@ -8,8 +8,8 @@ import (
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
)
func TestNewLogBuffer(t *testing.T) {
lb := NewLogBuffer(time.Second, func(startTime, stopTime time.Time, buf []byte) {
func TestNewLogBufferFirstBuffer(t *testing.T) {
lb := NewLogBuffer(time.Minute, func(startTime, stopTime time.Time, buf []byte) {
}, func() {

Loading…
Cancel
Save