Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
Signed-off-by: trueeyu <[email protected]>
  • Loading branch information
trueeyu committed Feb 14, 2025
1 parent b9d1b6b commit 1e7162b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/test/util/lru_cache_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ TEST_F(CacheTest, SetCapacity) {
// Insert kCacheSize entries, but not releasing.
for (int i = 0; i < 32; i++) {
std::string result;
handles[i] = _cache->insert(EncodeKey(&result, i), EncodeValue(1000 + kCacheSize), 1, &CacheTest::Deleter);
handles[i] = _cache->insert(EncodeKey(&result, i), EncodeValue(1000 + kCacheSize), 1, 1, &CacheTest::Deleter);
}
ASSERT_EQ(kCacheSize, _cache->get_capacity());
ASSERT_EQ(32, _cache->get_memory_usage());
Expand Down

0 comments on commit 1e7162b

Please sign in to comment.