Repository navigation
ci: give the UiAutomator2 server 2 minutes to start on the Android emulator job - #1340
Merged
plum117 merged 1 commit intoOct 10, 2026
Merged
Conversation
…ulator job 2 Android emulator runs failed at the session start with "The instrumentation process cannot be initialized within 30000ms timeout" (38064244310, 38064214986): the busy CI runner needed more than the default 30 s of `uiautomator2ServerLaunchTimeout`. Use 120 s in CI only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
plum117
marked this pull request as ready for review
October 10, 2026 18:38
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
2 runs of the Android emulator job failed at the session start, before any test:
(runs 38064244310 and 38064214986). The UiAutomator2 driver waits
uiautomator2ServerLaunchTimeout(default 30 s) for its server, and on the busy CI runner the server sometimes needs more time. The driver message itself advises to increase this capability.What
tests/configs/wdio.local.android.emus.web.conf.ts:'appium:uiautomator2ServerLaunchTimeout': 120000in CI only (process.env.CI). A normal start is not slower; only a slow start gets more time. A change to the test config only, so there is no changeset.Test
Types and lint. The Android emulator job of this PR runs with the new capability (its path filter includes this config).
🤖 Generated with Claude Code