From fe2882ce7dd6a95dd70be5a1936251b5fb15768e Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 2 Jul 2019 21:42:06 -0700 Subject: [PATCH] fix test --- weed/filer2/leveldb2/leveldb2_store_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/filer2/leveldb2/leveldb2_store_test.go b/weed/filer2/leveldb2/leveldb2_store_test.go index 5d6e660de..a16803ca1 100644 --- a/weed/filer2/leveldb2/leveldb2_store_test.go +++ b/weed/filer2/leveldb2/leveldb2_store_test.go @@ -13,7 +13,7 @@ func TestCreateAndFind(t *testing.T) { dir, _ := ioutil.TempDir("", "seaweedfs_filer_test") defer os.RemoveAll(dir) store := &LevelDB2Store{} - store.initialize(dir) + store.initialize(dir,2) filer.SetStore(store) filer.DisableDirectoryCache() @@ -68,7 +68,7 @@ func TestEmptyRoot(t *testing.T) { dir, _ := ioutil.TempDir("", "seaweedfs_filer_test2") defer os.RemoveAll(dir) store := &LevelDB2Store{} - store.initialize(dir) + store.initialize(dir,2) filer.SetStore(store) filer.DisableDirectoryCache()