You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "adonis0147 (via GitHub)" <gi...@apache.org> on 2023/03/27 02:25:09 UTC
[GitHub] [doris] adonis0147 commented on a diff in pull request #18119: [fix](ut)support run be-ut on release mode
adonis0147 commented on code in PR #18119:
URL: https://github.com/apache/doris/pull/18119#discussion_r1148724212
##########
be/test/util/threadpool_test.cpp:
##########
@@ -328,15 +328,9 @@ TEST_F(ThreadPoolTest, TestZeroQueueSize) {
TEST_F(ThreadPoolTest, TestDeadlocks) {
::testing::FLAGS_gtest_death_test_style = "threadsafe";
#ifdef __APPLE__
- const char* death_msg =
- "_ZNSt3__1L8__invokeIRNS_6__bindIMN5doris10ThreadPoolEFvvEJPS3_EEEJEEEDTclscT_fp_"
- "spscT0_fp0_EEOS9_DpOSA_|_ZNSt3__18__invokeB6v15007IRNS_6__"
- "bindIMN5doris10ThreadPoolEFvvEJPS3_EEEJEEEDTclclsr3stdE7declvalIT_"
- "EEspclsr3stdE7declvalIT0_EEEEOS9_DpOSA_";
+ const char* death_msg = "ThreadPool";
#else
- const char* death_msg =
- "_ZNSt5_BindIFMN5doris10ThreadPoolEFvvEPS1_EE6__callIvJEJLm0EEEET_OSt5tupleIJDpT0_"
- "EESt12_Index_tupleIJXspT1_EEE";
+ const char* death_msg = "ThreadPool";
Review Comment:
I don't think this modification is suitable. If we run BE UT whose build type isn't release, we can check the stack frames more accurately.
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org