-
-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace waiting for android emulator with a sleep and a list device c…
…all to verify emulator is running (#4261) I've tried to replicate why the timeouts related to the android emulator that happen in github actions. It seems that the `adb wait-for-device` is stuck although I cannot replicate it locally and the kotlin example does not suffer the same issue. So for now, I added some wait time after start emulator and a call to `adb device` to verify the device is indeed present and it seems to be working. This should work for the time being and make the job green until we create a better alternative. Small change included: Since we throw an error if we don't detect the boot notification of start emulator, I changed the `startAndroidEmulator` signature from `Option[String]` to `String` Linking the green job on my copy for reference: https://github.com/vaslabs-ltd/mill/actions/runs/12651834850/job/35253442650
- Loading branch information
Showing
3 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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