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

laiyingchun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new aba975b2c [unittest] LogRollingITest offen failed at asan, because of 
glog' leak
aba975b2c is described below

commit aba975b2c0ea676b8637c7935e749dbf2478b750
Author: shenxingwuying <[email protected]>
AuthorDate: Mon Jul 4 18:38:31 2022 +0800

    [unittest] LogRollingITest offen failed at asan, because of glog' leak
    
    Change-Id: I969dee0f04c1bea6c9b8de2040f3ccefeb5ec00c
    Reviewed-on: http://gerrit.cloudera.org:8080/18699
    Tested-by: Kudu Jenkins
    Reviewed-by: Yingchun Lai <[email protected]>
---
 src/kudu/integration-tests/log-rolling-itest.cc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/kudu/integration-tests/log-rolling-itest.cc 
b/src/kudu/integration-tests/log-rolling-itest.cc
index b49abb8db..4665b9aa9 100644
--- a/src/kudu/integration-tests/log-rolling-itest.cc
+++ b/src/kudu/integration-tests/log-rolling-itest.cc
@@ -53,6 +53,13 @@ static int64_t CountInfoLogs(const string& log_dir) {
 
 // Tests that logs roll on startup, and get cleaned up appropriately.
 TEST_F(LogRollingITest, TestLogCleanupOnStartup) {
+#if defined(ADDRESS_SANITIZER)
+  LOG(WARNING) << "skip asan, because thirdparty lib glog has a global 
variable: (static "
+                  "vector<string>* logging_directories_list;) which allocated 
by new "
+                  "operator, but ShutdownGoogleLoggingSafe() isn't called as 
needed, "
+                  "which may cause asan error.";
+  GTEST_SKIP();
+#endif
   ExternalMiniClusterOptions opts;
   opts.num_masters = 1;
   opts.num_tablet_servers = 0;

Reply via email to