Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adb: more than one device/emulator #288

Closed
MattSkala opened this issue Nov 1, 2022 · 3 comments
Closed

adb: more than one device/emulator #288

MattSkala opened this issue Nov 1, 2022 · 3 comments
Labels
question Further information is requested

Comments

@MattSkala
Copy link

When running more instances of a runner and executing tests in parallel, the action fails while waiting for emulator to come online.

/Users/matt/Library/Android/sdk/platform-tools/adb shell getprop sys.boot_completed
  adb: more than one device/emulator
  The process '/Users/fitify/Library/Android/sdk/platform-tools/adb' failed with exit code 1

There should probably be -s argument to select the appropriate emulator to support cases when multiple emulators are running.

@mrk-han
Copy link
Collaborator

mrk-han commented Nov 2, 2022

@MattSkala Thanks for the report! Would you mind sending us your .yml file, and show how you are sharding / parallelizing your tests?

I personally wouldn't try to run multiple emulators if using the standard GitHub runner infrastructure. But, perhaps if you are using a local or self-hosted runner than this could be useful to support.

If not for testing, can you iterate your use-case?

@mrk-han mrk-han added the question Further information is requested label Nov 2, 2022
@mrk-han
Copy link
Collaborator

mrk-han commented Nov 2, 2022

Duplicate of #193

@mrk-han mrk-han marked this as a duplicate of #193 Nov 2, 2022
@mrk-han
Copy link
Collaborator

mrk-han commented Nov 2, 2022

@MattSkala Gonna close this because duplicate, but we can communicate on #193

@mrk-han mrk-han closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants