From 2506c5f6227f6661624f4033b083829026281f79 Mon Sep 17 00:00:00 2001 From: morningman Date: Mon, 14 Aug 2023 16:02:18 +0800 Subject: [PATCH] fix ut --- be/test/io/cache/file_block_cache_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/be/test/io/cache/file_block_cache_test.cpp b/be/test/io/cache/file_block_cache_test.cpp index 1c60447035d0ca..f8ce21dd27d335 100644 --- a/be/test/io/cache/file_block_cache_test.cpp +++ b/be/test/io/cache/file_block_cache_test.cpp @@ -916,6 +916,7 @@ TEST(LRUFileCache, fd_cache_evict) { context.cache_type = io::CacheType::NORMAL; auto key = io::LRUFileCache::hash("key1"); config::file_cache_max_file_reader_cache_size = 2; + IFileCache::init(); { auto holder = cache.get_or_set(key, 0, 9, context); /// Add range [0, 8] auto segments = fromHolder(holder);