-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Errors in creating and maintaining UiAutomation connection in Instrumented tests #25132
Comments
…ly getInstrumentation() call
…ly getInstrumentation() call fix: ktlint
I filed an issue on a Google issue tracker, I have no idea what causes this. I suspect it's a particular in androidx.test.uiautomator:uiautomator |
|
FTL team responded back on Slack that a potential fix should be in as of yesterday (06/29), let's keep a track on any reoccurrence and I'll reply back. |
► 6/30
|
► 7/4
|
► 7/5
|
Firebase Team Update:
[1] https://issuetracker.google.com/issues/233914320 Also in communication with a member on the Firebase Community Slack about a fix too. |
► 7/5
|
Saw the issue again in #26299 for |
Currently waiting on Google to push out an update to Firebase Test Lab to ensure all devices are using newer GMSCore (FLOSS Play Services) version which was the culprit of this problem. Currently in test runs, some devices are on the newer Play Services version (you can tell from the first frame in videos) and some are using the older version which is another bug. |
FTL Update (09.15)
We've also switched to |
This was resolved on their end. |
Intermittently, an early
getInstrumentation()
call inbeforeActivityLaunched
for ourHomeActivityTestRule.kt
will throw ajava.lang.RuntimeException
with aError while connecting UiAutomation
. This seems to happen more frequent on 1.4.0 and espresso 3.4.0 libraries [2] - just getting a ticket on file here to wrap this call and try again (although I don't know if multiple attempts to get a handle on the running instrumentation will do anything). This is for executing a shell command to set a timeout on long tap.Stack:
[1] Firebase Log
[2] Ticket filed as android/android-test#1305
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: