From 828e4a5ace44eecd53164d08ce7fe81a4ac348bf Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 26 May 2018 04:13:50 -0700 Subject: [PATCH] fix test error --- weed/filer2/memdb/memdb_store_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/weed/filer2/memdb/memdb_store_test.go b/weed/filer2/memdb/memdb_store_test.go index b8d41bf8e..a8631f969 100644 --- a/weed/filer2/memdb/memdb_store_test.go +++ b/weed/filer2/memdb/memdb_store_test.go @@ -28,18 +28,13 @@ func TestCreateAndFind(t *testing.T) { return } - found, entry, err := filer.FindEntry(fullpath) + entry, err := filer.FindEntry(fullpath) if err != nil { t.Errorf("find entry: %v", err) return } - if !found { - t.Errorf("Failed to find newly created file") - return - } - if entry.FullPath != entry1.FullPath { t.Errorf("find wrong entry: %v", entry.FullPath) return