From ab772110c74ec77e59c593fe7e3b3836fbdd164d Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 1 Jul 2024 13:21:36 +0000 Subject: [PATCH] Insulate against log spam. We may as well check the entire log. The previous bump seems to have made this test less flaky, so why not go all the way? Change-Id: I26b7524731ec755b724b9363fc9151f6a6d9116d --- libutils/CallStack_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libutils/CallStack_test.cpp b/libutils/CallStack_test.cpp index bfe6b8798..5ed3c27e8 100644 --- a/libutils/CallStack_test.cpp +++ b/libutils/CallStack_test.cpp @@ -73,7 +73,7 @@ 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, - 10000 /* tail */, getpid()); + INT_MAX /* tail */, getpid()); ASSERT_NE(nullptr, logger_list); std::string log; while (true) {