aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/needle_map_metric_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/needle_map_metric_test.go')
-rw-r--r--weed/storage/needle_map_metric_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/weed/storage/needle_map_metric_test.go b/weed/storage/needle_map_metric_test.go
index 362659a11..3d9dbefb2 100644
--- a/weed/storage/needle_map_metric_test.go
+++ b/weed/storage/needle_map_metric_test.go
@@ -5,7 +5,7 @@ import (
"math/rand"
"testing"
- "github.com/chrislusf/seaweedfs/weed/glog"
+ "github.com/chrislusf/seaweedfs/weed/util/log"
. "github.com/chrislusf/seaweedfs/weed/storage/types"
)
@@ -23,9 +23,9 @@ func TestFastLoadingNeedleMapMetrics(t *testing.T) {
mm, _ := newNeedleMapMetricFromIndexFile(idxFile)
- glog.V(0).Infof("FileCount expected %d actual %d", nm.FileCount(), mm.FileCount())
- glog.V(0).Infof("DeletedSize expected %d actual %d", nm.DeletedSize(), mm.DeletedSize())
- glog.V(0).Infof("ContentSize expected %d actual %d", nm.ContentSize(), mm.ContentSize())
- glog.V(0).Infof("DeletedCount expected %d actual %d", nm.DeletedCount(), mm.DeletedCount())
- glog.V(0).Infof("MaxFileKey expected %d actual %d", nm.MaxFileKey(), mm.MaxFileKey())
+ log.Infof("FileCount expected %d actual %d", nm.FileCount(), mm.FileCount())
+ log.Infof("DeletedSize expected %d actual %d", nm.DeletedSize(), mm.DeletedSize())
+ log.Infof("ContentSize expected %d actual %d", nm.ContentSize(), mm.ContentSize())
+ log.Infof("DeletedCount expected %d actual %d", nm.DeletedCount(), mm.DeletedCount())
+ log.Infof("MaxFileKey expected %d actual %d", nm.MaxFileKey(), mm.MaxFileKey())
}