Run UI tests on API 29
For some reason running the tests on API 30 fails with the below exception. Interestingly enough the tests run just fine on my local API 30 emulator. java.lang.RuntimeException: Exception thrown in onCreate() of ComponentInfo{com.wbrawner.simplemarkdown.test/androidx.test.runner.AndroidJUnitRunner}: java.lang.IllegalStateException: Cannot connect to androidx.test.orchestrator.OrchestratorService FATAL EXCEPTION: main Process: com.wbrawner.simplemarkdown, PID: 21960 java.lang.RuntimeException: Exception thrown in onCreate() of ComponentInfo{com.wbrawner.simplemarkdown.test/androidx.test.runner.AndroidJUnitRunner}: java.lang.IllegalStateException: Cannot connect to androidx.test.orchestrator.OrchestratorService at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6709) at android.app.ActivityThread.access$1300(ActivityThread.java:237) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7656) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) Caused by: java.lang.IllegalStateException: Cannot connect to androidx.test.orchestrator.OrchestratorService at androidx.test.internal.events.client.TestEventServiceConnectionBase.connect(TestEventServiceConnectionBase.java:91) at androidx.test.internal.events.client.TestEventClient.connect(TestEventClient.java:125) at androidx.test.runner.AndroidJUnitRunner.isOrchestratorServiceProvided(AndroidJUnitRunner.java:347) at androidx.test.runner.AndroidJUnitRunner.onCreate(AndroidJUnitRunner.java:319) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6704) ... 8 more
This commit is contained in:
parent
2b6d3ce2bc
commit
67bf1626a0
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ fladle {
|
|||
]
|
||||
testTimeout = "7m"
|
||||
devices = [
|
||||
[ "model": "NexusLowRes", "version": "30" ]
|
||||
[ "model": "NexusLowRes", "version": "29" ]
|
||||
]
|
||||
projectId = 'simplemarkdown'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue