commit | 3409b2ef6fba0477e57d6dfaa1e49cf360236a68 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Mon Feb 28 14:54:36 2022 +0100 |
committer | Patrick Rohr <prohr@google.com> | Mon Feb 28 14:59:03 2022 +0100 |
tree | b344d8b94ccb8bed3c6ee972243bea076f521568 | |
parent | efa4039d0165d7f8f3182825302dfe7e1ba5accf [diff] |
Improve error reporting in RateLimitTest This change moves the logic to read /proc/config.gz from the static initializer to a function that runs the first time setUp is called. This improves error reporting as exceptions thrown inside ensureKernelConfigLoaded get reported as test failures. Test: atest RateLimitTest Change-Id: I3b7913c567507dec8ecad26602cfccdad3d6f4bd