zclllyybb commented on code in PR #64164:
URL: https://github.com/apache/doris/pull/64164#discussion_r3369744412
##########
be/test/io/fs/local_file_system_test.cpp:
##########
@@ -410,23 +411,17 @@ TEST_F(LocalFileSystemTest, AbnormalWriteRead) {
}
TEST_F(LocalFileSystemTest, TestGlob) {
- std::string path = "./be/ut_build_ASAN/test/file_path/";
- EXPECT_TRUE(io::global_local_filesystem()->delete_directory(path).ok());
- EXPECT_TRUE(io::global_local_filesystem()
-
->create_directory("./be/ut_build_ASAN/test/file_path/1")
- .ok());
- EXPECT_TRUE(io::global_local_filesystem()
-
->create_directory("./be/ut_build_ASAN/test/file_path/2")
- .ok());
- EXPECT_TRUE(io::global_local_filesystem()
-
->create_directory("./be/ut_build_ASAN/test/file_path/3")
- .ok());
+ std::string glob_test_dir = config::user_files_secure_path + "/file_path";
Review Comment:
shouldn't use this in test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]