Feature Request P2
Status Update
Comments
ad...@google.com <ad...@google.com>
ad...@google.com <ad...@google.com> #2
I tried adding screenshotTestImplementation(libs.androidx.window)
but it didn't fix it.
[Deleted User] <[Deleted User]> #3
This is likely a duplicate of libs.androidx.window
dependency to implementation
to see if it works?
hu...@google.com <hu...@google.com> #4
Local Gradle Managed Device only supports a basic sharding (option 2).
Firebase TestLab device supports smart sharding (
Currently, we don't have enough bandwidth to add support for local managed devices.
Description
Generally speaking, there are two ways to support test sharding (and AGP UTP should support both).
Reactively distributing tests solves the problem of the first 50 tests taking 10 minutes to execute, while the second group of 50 tests might take 20 minutes. This means 10 minutes of parallelism is wasted because the first group finished early. With reactive test distrubution - there are a pool of devices that consume tests as they are ready so no resources are wasted
Pre-determined deterministic shards are useful because:
We could run
:pixel2api30DebugAndroidTestShard1
on one build machine, and:pixel2api30DebugAndroidTestShard2
on another. And ensure that all tests are executed. These tasks should also be separately tracked for caching (so:pixel2api30DebugAndroidTest
would depend on both of the shard tasks).My request is that AGP supports both of these use cases (should this be 2 tickets?)