From c3f9fdf48ffeec7a5f03e6308039e92cbb6deac5 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 20 Apr 2020 02:54:21 -0700 Subject: [PATCH] adjust test --- weed/util/log_buffer/log_buffer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/util/log_buffer/log_buffer_test.go b/weed/util/log_buffer/log_buffer_test.go index dfd611bed..735bbc47a 100644 --- a/weed/util/log_buffer/log_buffer_test.go +++ b/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() {