DescriptionAttempt to prevent screenshot failures from preventing original failure stack.
Saw an exception like this on the bots:
java.lang.RuntimeException: Error while connecting UiAutomation
at android.app.UiAutomation.connect(UiAutomation.java:203)
at android.app.Instrumentation.getUiAutomation(Instrumentation.java:1680)
at android.support.test.uiautomator.j.<init>(UiDevice.java:90)
at android.support.test.uiautomator.j.a(UiDevice.java:249)
at org.chromium.base.test.ScreenshotOnFailureStatement.evaluate(ScreenshotOnFailureStatement.java:1055)
at android.support.test.internal.a.b.run(UiThreadStatement.java:44)
at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1719)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Which prevented me from seeing the original failure.
BUG=736380
Review-Url: https://codereview.chromium.org/2954183002
Cr-Commit-Position: refs/heads/master@{#482004}
Committed: https://chromium.googlesource.com/chromium/src/+/27a522ddf6ece1cccf741e309e035bf0d461657a
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|