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 af2966067a6 [fix](group commit)Fix ut WalManagerTest (#49436)
af2966067a6 is described below

commit af2966067a63cec409aa2f9b72445df8a4f7369c
Author: huanghaibin <huanghai...@selectdb.com>
AuthorDate: Tue Mar 25 20:06:24 2025 +0800

    [fix](group commit)Fix ut WalManagerTest (#49436)
    
    ### What problem does this PR solve?
    pick pr https://github.com/apache/doris/pull/49075
    Issue Number: close #xxx
---
 be/src/olap/wal/wal_manager.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/be/src/olap/wal/wal_manager.cpp b/be/src/olap/wal/wal_manager.cpp
index 03343603ae8..1f2b2356b0f 100644
--- a/be/src/olap/wal/wal_manager.cpp
+++ b/be/src/olap/wal/wal_manager.cpp
@@ -157,10 +157,14 @@ Status WalManager::_init_wal_dirs_info() {
         wal_limit_test_bytes = wal_disk_limit;
 #endif
     }
+#ifndef BE_TEST
     return Thread::create(
             "WalMgr", "update_wal_dir_info",
             [this]() { static_cast<void>(this->_update_wal_dir_info_thread()); 
},
             &_update_wal_dirs_info_thread);
+#else
+    return Status::OK();
+#endif
 }
 
 void WalManager::add_wal_queue(int64_t table_id, int64_t wal_id) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to