diff options
author | Mark Salyzyn <salyzyn@google.com> | 2017-05-04 10:25:13 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-05-11 17:16:30 +0000 |
commit | c51ecf92384e76e03587f82b866f5a97df1e1ac7 (patch) | |
tree | d03c26f5d7a909d450a7984210e84c4305986f67 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 6f3f7dc838a7c7cc0562b9b6dd6c9b6f018f0204 (diff) |
logd: test: check sepolicy background rate before testing
logd.sepolicy_rate_limiter_* tests can fail individually so join them
together into one test. The new test logd.sepolicy_rate_limiter
fails as a group if the background sepolicy activity is too high, so
check it and report a warning that the test can fail as a result so it
can be forgiven during unit testing. The failure remains as a VTS
performance threshold that requires investigation.
The test takes a total of 45 seconds to run, it was split up as this
approaches the 60 second test timeout on go/apct.
Test: gTest logd-unit-tests --gtest_filter=logd.sepolicy_rate_limiter
(run in loop ensuring passes do not interfere with eachother)
Bug: 37791296
Change-Id: Ia865241f684c6b0de428702cbd5110dc17927c66
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions