From d91ec535b32efe645206ad64ccae8e88c2bf6c6e Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 1 Sep 2020 01:29:13 -0700 Subject: [PATCH] fix tests --- weed/filer/leveldb/leveldb_store_test.go | 4 ++-- weed/filer/leveldb2/leveldb2_store_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/weed/filer/leveldb/leveldb_store_test.go b/weed/filer/leveldb/leveldb_store_test.go index df196b02e..d656c690a 100644 --- a/weed/filer/leveldb/leveldb_store_test.go +++ b/weed/filer/leveldb/leveldb_store_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/chrislusf/seaweedfs/weed/filer" + filer2 "github.com/chrislusf/seaweedfs/weed/filer" "github.com/chrislusf/seaweedfs/weed/util" ) @@ -22,7 +22,7 @@ func TestCreateAndFind(t *testing.T) { ctx := context.Background() - entry1 := &filer.Entry{ + entry1 := &filer2.Entry{ FullPath: fullpath, Attr: filer.Attr{ Mode: 0440, diff --git a/weed/filer/leveldb2/leveldb2_store_test.go b/weed/filer/leveldb2/leveldb2_store_test.go index 191de0040..8939720ee 100644 --- a/weed/filer/leveldb2/leveldb2_store_test.go +++ b/weed/filer/leveldb2/leveldb2_store_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/chrislusf/seaweedfs/weed/filer" + filer2 "github.com/chrislusf/seaweedfs/weed/filer" "github.com/chrislusf/seaweedfs/weed/util" ) @@ -22,7 +22,7 @@ func TestCreateAndFind(t *testing.T) { ctx := context.Background() - entry1 := &filer.Entry{ + entry1 := &filer2.Entry{ FullPath: fullpath, Attr: filer.Attr{ Mode: 0440,