Browse Source

fix test

pull/1020/head 1.40
Chris Lu 6 years ago
parent
commit
fe2882ce7d
  1. 4
      weed/filer2/leveldb2/leveldb2_store_test.go

4
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()

Loading…
Cancel
Save