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

Launch emulators sequentially #2106

Closed
Tracked by #3573
d4vidi opened this issue Jun 7, 2020 · 3 comments
Closed
Tracked by #3573

Launch emulators sequentially #2106

d4vidi opened this issue Jun 7, 2020 · 3 comments

Comments

@d4vidi
Copy link
Collaborator

d4vidi commented Jun 7, 2020

Is your feature request related to a problem? Please describe.
The Android emulator binary doesn't seem to handle many launches taking place at the same time very well. In particular, seems that emulator launches touch some of the configuration, and - if race conditions are met, that evidently causes some emulators either boot from scratch (overlook snapshots) due to an alleged config change or possibly boot with the wrong specs.

Note: This somewhat associates with the adb jam problem (#1857), as it is possible that as a side effect, improving the launch behavior would help reduce the frequency of "jams": as the tests-run timeline changes, it should become less likely that multiple adb install commands are executed simultaneously, which seems to be the soft spot of adb with respect to that specific bug.

Describe the solution you'd like
Make emulators launch as a mutually-excluded sequence.

Describe alternatives you've considered
N/A

Additional context
N/A

@d4vidi d4vidi self-assigned this Jun 7, 2020
This was referenced Jun 7, 2020
@d4vidi d4vidi changed the title Launch emulators sequentially [WIP] Launch emulators sequentially Jun 7, 2020
@d4vidi d4vidi mentioned this issue Jun 7, 2020
2 tasks
@d4vidi
Copy link
Collaborator Author

d4vidi commented Jun 7, 2020

Following recent futile attempts at getting this to work properly, I'm "back-logging" it again with this possible change as the next potential PoC: Stop using the emulators' -read-only and clone emulator instances on-the-fly, instead (as implemented for iOS).

@stale
Copy link

stale bot commented Jul 29, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.

Thank you for your contributions!

For more information on bots in this reporsitory, read this discussion.

@stale stale bot added the 🏚 stale label Jul 29, 2020
@noomorph noomorph changed the title [WIP] Launch emulators sequentially Launch emulators sequentially Aug 28, 2023
@noomorph noomorph assigned noomorph and unassigned d4vidi Sep 12, 2023
@d4vidi
Copy link
Collaborator Author

d4vidi commented Feb 25, 2024

Closing; We will revisit if necessary

@d4vidi d4vidi closed this as not planned Won't fix, can't repro, duplicate, stale Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants