libutils: CallStackTest log_stack check more log
Check last 10,000 instead of last 1,000 log entries. Fixes: 348793356 Test: presubmit Change-Id: I08c660ddd7e49466a4b55d96e46a402ee8912a24
This commit is contained in:
parent
b2bd7ae863
commit
47fde793b1
1 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,8 @@ TEST(CallStackTest, thread_backtrace) {
|
|||
TEST(CallStackTest, log_stack) {
|
||||
android::CallStack::logStack("callstack_test");
|
||||
auto logger_list = android_logger_list_open(android_name_to_log_id("main"),
|
||||
ANDROID_LOG_NONBLOCK, 1000, getpid());
|
||||
ANDROID_LOG_NONBLOCK,
|
||||
10000 /* tail */, getpid());
|
||||
ASSERT_NE(nullptr, logger_list);
|
||||
std::string log;
|
||||
while (true) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue