From b92122b885c8fba189f3c503c17478008806fda7 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 16 Mar 2019 09:50:57 -0700 Subject: [PATCH] fix test --- weed/filer2/leveldb/leveldb_store_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weed/filer2/leveldb/leveldb_store_test.go b/weed/filer2/leveldb/leveldb_store_test.go index 3e60bb28c..904de8c97 100644 --- a/weed/filer2/leveldb/leveldb_store_test.go +++ b/weed/filer2/leveldb/leveldb_store_test.go @@ -72,6 +72,8 @@ func TestEmptyRoot(t *testing.T) { filer.SetStore(store) filer.DisableDirectoryCache() + ctx := context.Background() + // checking one upper directory entries, err := filer.ListDirectoryEntries(ctx, filer2.FullPath("/"), "", false, 100) if err != nil {