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
This commit is contained in:
Elliott Hughes 2024-07-01 13:21:36 +00:00
parent 9418c6712c
commit ab772110c7

View file

@ -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) {