This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 06259458 Disable CondTest.too_many_bthreads_from_bthread in asan ut
(#2940)
06259458 is described below
commit 062594587f5108c930642b12e1b49e47166688e1
Author: Bright Chen <[email protected]>
AuthorDate: Sun Apr 6 12:15:59 2025 +0800
Disable CondTest.too_many_bthreads_from_bthread in asan ut (#2940)
---
test/bthread_cond_unittest.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/bthread_cond_unittest.cpp b/test/bthread_cond_unittest.cpp
index b1b7af0c..7342cea1 100644
--- a/test/bthread_cond_unittest.cpp
+++ b/test/bthread_cond_unittest.cpp
@@ -449,6 +449,7 @@ TEST(CondTest, too_many_bthreads_from_pthread) {
launch_many_bthreads();
}
+#ifndef BUTIL_USE_ASAN
static void* run_launch_many_bthreads(void*) {
launch_many_bthreads();
return NULL;
@@ -460,4 +461,5 @@ TEST(CondTest, too_many_bthreads_from_bthread) {
ASSERT_EQ(0, bthread_start_urgent(&th, NULL, run_launch_many_bthreads,
NULL));
bthread_join(th, NULL);
}
+#endif // BUTIL_USE_ASAN
} // namespace
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]