Browse Source

fix test

pull/895/head
Chris Lu 6 years ago
parent
commit
b92122b885
  1. 2
      weed/filer2/leveldb/leveldb_store_test.go

2
weed/filer2/leveldb/leveldb_store_test.go

@ -72,6 +72,8 @@ func TestEmptyRoot(t *testing.T) {
filer.SetStore(store) filer.SetStore(store)
filer.DisableDirectoryCache() filer.DisableDirectoryCache()
ctx := context.Background()
// checking one upper directory // checking one upper directory
entries, err := filer.ListDirectoryEntries(ctx, filer2.FullPath("/"), "", false, 100) entries, err := filer.ListDirectoryEntries(ctx, filer2.FullPath("/"), "", false, 100)
if err != nil { if err != nil {

Loading…
Cancel
Save