android-emulator-runner icon indicating copy to clipboard operation
android-emulator-runner copied to clipboard

Plugin cannot handle parallelism

Open abjerstedt opened this issue 3 years ago • 3 comments

There are 2 separate problems with this plugin regarding parallelism:

  1. This plugin assumes that it is the ONLY instance running on a build machine, and doesn't work for teams using multiple runners on one device (such as self hosted MacMini's or MacPros).
  • The cleanup script is hardcoded to kill the first emulator which means inevitable collisions.
  1. This plugin doesn't allow for test sharding.

abjerstedt avatar Oct 07 '21 16:10 abjerstedt

@ychescale9 - To clarify this also means the device matrix logic is broken. You can only run a single device at a time because we are force killing a specific adb instance.

abjerstedt avatar Oct 15 '21 15:10 abjerstedt

I'm also facing this issue when trying to run a matrix of different devices, which I assume is a common use-case for the plugin.

RTodorov avatar Feb 25 '22 16:02 RTodorov