Fixed
Status Update
Comments
hu...@google.com <hu...@google.com> #2
Maybe a dup of
da...@google.com <da...@google.com>
an...@google.com <an...@google.com> #3
Android Gradle Plugin: 8.7.1
Could you try the latest canary, AGP 8.8.0-alpha09
?
Description
android.experimental.testOptions.managedDevices.maxConcurrentDevices=1
should result in the behavior that no more than one device is active at a time.However, this is not the case: when the tests are running, many devices are spun up to run concurrently. In local testing, I've seen as many as 8 trying to be run at the same time.
When briefly debugging, it looks like the
lock
for the device count while running the tests is not kept while the tests are actually running:The
use
does not extend to the call torunUtpWithRetryForEmulatorTimeoutException
, which looks to be what runs the tests: