This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 072e7c7c7c5 branch-4.0:[fix](filecache) fix flaky be UT for LRU
dump(pick#65427) (#66130)
072e7c7c7c5 is described below
commit 072e7c7c7c50f995764c6ad345812f05f4a131c3
Author: zhengyu <[email protected]>
AuthorDate: Tue Jul 28 23:09:31 2026 +0800
branch-4.0:[fix](filecache) fix flaky be UT for LRU dump(pick#65427)
(#66130)
### What problem does this PR solve?
Issue Number: N/A
Related PR: #65427
---
be/test/io/cache/block_file_cache_test_lru_dump.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/be/test/io/cache/block_file_cache_test_lru_dump.cpp
b/be/test/io/cache/block_file_cache_test_lru_dump.cpp
index 0650a8d4d99..b82e554ce03 100644
--- a/be/test/io/cache/block_file_cache_test_lru_dump.cpp
+++ b/be/test/io/cache/block_file_cache_test_lru_dump.cpp
@@ -203,8 +203,7 @@ TEST_F(BlockFileCacheTest,
test_lru_log_record_replay_dump_restore) {
ASSERT_EQ(offsets[3], 400000);
ASSERT_EQ(offsets[4], 200000);
- std::this_thread::sleep_for(
- std::chrono::milliseconds(2 *
config::file_cache_background_lru_dump_interval_ms));
+ cache.dump_lru_queues(true);
#if 0
// Verify all 4 dump files
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]