Browse Source

fix test

pull/693/head
Chris Lu 7 years ago
parent
commit
d429b6296b
  1. 2
      weed/filer2/memdb/memdb_store_test.go

2
weed/filer2/memdb/memdb_store_test.go

@ -134,7 +134,7 @@ func TestCreateFileAndList(t *testing.T) {
} }
// delete file and count // delete file and count
filer.DeleteEntryMetaAndData(file3Path, false)
filer.DeleteEntryMetaAndData(file3Path, false, false)
entries, _ = filer.ListDirectoryEntries(filer2.FullPath("/home/chris/this/is"), "", false, 100) entries, _ = filer.ListDirectoryEntries(filer2.FullPath("/home/chris/this/is"), "", false, 100)
if len(entries) != 1 { if len(entries) != 1 {
t.Errorf("list entries count: %v", len(entries)) t.Errorf("list entries count: %v", len(entries))

Loading…
Cancel
Save