You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trim and truncate test failure stack traces for both orchestrator and classic/non-orchestrator modes.
This change should clean up test failure reporting by:
- Remove test runner framework related stack frames
- Truncate stack traces to a 64KB size when running under orchestrator
to attempt to avoid binder transaction limits.
This limit is already enforced when running in classic/non-orchestrator mode
JUnit 4.13 has a really nice getTrimmedStackTrace feature, but androidx.test
is fixed to 4.12 for the time being. So as a temporary workaround, copy
the relevant JUnit change junit-team/junit4#1028 into this project.
Fixes#729, and hopefully #269
PiperOrigin-RevId: 329797783
Copy file name to clipboardExpand all lines: runner/android_junit_runner/javatests/androidx/test/internal/runner/listener/InstrumentationResultPrinterTest.java
0 commit comments