This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 0a2f7572dc6 branch-3.0: [fix](ut) fix cache evict in advance
fluttering UT #48858 (#48878)
0a2f7572dc6 is described below
commit 0a2f7572dc62b33bd352fe7d0bd6d6576ef25a92
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 30 17:10:12 2025 +0800
branch-3.0: [fix](ut) fix cache evict in advance fluttering UT #48858
(#48878)
Cherry-picked from #48858
Co-authored-by: zhengyu <[email protected]>
---
be/test/io/cache/block_file_cache_test.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/test/io/cache/block_file_cache_test.cpp
b/be/test/io/cache/block_file_cache_test.cpp
index f71ec26b526..57a4f073bff 100644
--- a/be/test/io/cache/block_file_cache_test.cpp
+++ b/be/test/io/cache/block_file_cache_test.cpp
@@ -6920,7 +6920,7 @@ TEST_F(BlockFileCacheTest, evict_in_advance) {
ASSERT_EQ(cache.get_stats_unsafe()["disposable_queue_curr_size"], 0);
ASSERT_EQ(cache.get_stats_unsafe()["ttl_queue_curr_size"], 0);
ASSERT_EQ(cache.get_stats_unsafe()["index_queue_curr_size"], 0);
- ASSERT_EQ(cache.get_stats_unsafe()["normal_queue_curr_size"], cache_max -
400000);
+ ASSERT_LE(cache.get_stats_unsafe()["normal_queue_curr_size"], cache_max -
400000);
if (fs::exists(cache_base_path)) {
fs::remove_all(cache_base_path);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]