commit | a82c0337a07e1f63a6cbee64f1c5e103e06151b0 | [log] [tgz] |
---|---|---|
author | Wenhao Wang <wenhaowang@google.com> | Thu Jan 13 09:34:54 2022 -0800 |
committer | Wenhao Wang <wenhaowang@google.com> | Thu Jan 13 09:36:48 2022 -0800 |
tree | 091e914eda789a5c804f2d5aa7e46151aea94dfd | |
parent | d403566bdbd4eea3acf902593b4b386ab847790e [diff] |
liblog: Refactor log_wrap_test The prior unit test reads MAIN buffer with ANDRID_LOG_WRAP flag. But the reading thread wakes up when the MAIN buffer is full. The MAIN buffer is usually filled less than 5 seconds. For example, the cf_x86_64_phone-userdebug target. So we switch to read SYSTEM buffer, which is stuffed much slower. Bug: 197901557 Test: CtsLiblogTestCases Change-Id: Ib53cc25469d2049f362a019c36bdd30f9e634b15