Fixed
Status Update
Comments
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
Description
Sample failure:https://android-build.googleplex.com/builds/tests/view?invocationId=I94500010032007415&redirect=https%3A%2F%2Fsponge2.corp.google.com%2Ff4bf3852-6d0c-4a6b-9419-71122febc2ff&testResultId=TR07327948635652186
These tests should pass false to assumeTrue() on unsupported devices, instead of throwing an UnsupportedOperationException. The exception should be used if someone tries to run the benchmark on an unsupported device (e.g. in PowerMetric.configure / start).
If you pass false to assumeTrue(), it throws a special exception that registers the test as a skipped test instead of a failure (in that dashboard, white instead of red).