This is an automated email from the ASF dual-hosted git repository.

hellostephen pushed a commit to branch hello-stephen-patch-1
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 29b86fe51cd1d5d66da5704b9bed8fc3ff3ee278
Author: Dongyang Li <lidongy...@selectdb.com>
AuthorDate: Thu Feb 6 11:16:09 2025 +0800

    debug cloud_ut
---
 cloud/test/network_util_test.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cloud/test/network_util_test.cpp b/cloud/test/network_util_test.cpp
index 06f425f244f..0ee3f7c318f 100644
--- a/cloud/test/network_util_test.cpp
+++ b/cloud/test/network_util_test.cpp
@@ -28,6 +28,7 @@ int main(int argc, char** argv) {
 
 TEST(NetWorkUtilTest, GetLocaHostTest) {
     doris::cloud::config::priority_networks = "";
+    doris::cloud::config::enable_loopback_address_for_ms = true;
     // prepare an existed ip for test
     auto ip = 
doris::cloud::get_local_ip(doris::cloud::config::priority_networks);
     std::cout << "get ip: " << ip << " from butil::my_ip_cstr()" << std::endl;


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

Reply via email to