AppiumTestDistribution icon indicating copy to clipboard operation
AppiumTestDistribution copied to clipboard

Move-away from static device list to dynamic device pool

Open SrinivasanTarget opened this issue 5 years ago • 3 comments

Currently, we fetch the complete device list upfront and store it in a hashmap well before the execution starts rather than having a dynamic pool of devices so anyone can remove or add a new device during the execution

SrinivasanTarget avatar Dec 02 '20 05:12 SrinivasanTarget

@SrinivasanTarget @saikrishna321 one enhancement would consider like, if during execution if 2 or more tests failed due to device specific issue. ATD just simply remove that device from available list to prevent same failures. Would like to discuss more on that idea.

priyankshah217 avatar Dec 02 '20 07:12 priyankshah217

one idea would be to do health check on device before running the test on that device. and if the check fails, we'll remove that device from the list of runnable devices.

Health check can be:

  • Battery check
  • Storage check, etc.

WasiqB avatar Dec 02 '20 10:12 WasiqB

@priyankshah217 @WasiqB With Appium 2.0 support and with plugin https://github.com/SrinivasanTarget/appium-device-plugin going forward ATD will not maintain the device pool. Plugin will maintain that.

Can you please create issues here https://github.com/SrinivasanTarget/appium-device-plugin so we can implement idea regards to device pool list

saikrishna321 avatar Apr 14 '21 17:04 saikrishna321

Support added in latest release 13.0.0

saikrishna321 avatar May 14 '23 16:05 saikrishna321