From def6d8e5650ff6a7d0c575bcc3779b282febc462 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 12 Jan 2021 12:32:54 -0800 Subject: [PATCH] fix test --- weed/filer/leveldb3/leveldb3_store_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/filer/leveldb3/leveldb3_store_test.go b/weed/filer/leveldb3/leveldb3_store_test.go index 81f759e78..20d86053f 100644 --- a/weed/filer/leveldb3/leveldb3_store_test.go +++ b/weed/filer/leveldb3/leveldb3_store_test.go @@ -15,7 +15,7 @@ func TestCreateAndFind(t *testing.T) { dir, _ := ioutil.TempDir("", "seaweedfs_filer_test") defer os.RemoveAll(dir) store := &LevelDB3Store{} - store.initialize(dir, 2) + store.initialize(dir) testFiler.SetStore(store) fullpath := util.FullPath("/home/chris/this/is/one/file1.jpg") @@ -69,7 +69,7 @@ func TestEmptyRoot(t *testing.T) { dir, _ := ioutil.TempDir("", "seaweedfs_filer_test2") defer os.RemoveAll(dir) store := &LevelDB3Store{} - store.initialize(dir, 2) + store.initialize(dir) testFiler.SetStore(store) ctx := context.Background()