Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Aug 17, 2023
1 parent 4576e10 commit 2506c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions be/test/io/cache/file_block_cache_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2506c5f

Please sign in to comment.