Fail the test immediately on >100 errors.

When we see a large number of errors, they are usually all due to the same
root cause so the specifics are not useful or interesting. Furthermore, in
this case a large amount of logcat message are usually generated resulting
in the root cause of the failure being lost.

Bug: 169987505
Bug: 170428909
Test: atest CtsHiddenApiKillswitchSdkListTestCases
Merged-In: I5d008d7de0c754981504ec505de1eb2504a36908
Change-Id: I5d008d7de0c754981504ec505de1eb2504a36908
2 files changed