Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
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: