Skip to content

Commit

Permalink
Try out targeted sharding in emulator.wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
saket committed Dec 6, 2024
1 parent 96fb6c8 commit 47f206b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class AndroidTestConventionPlugin : Plugin<Project> {
@Suppress("SdCardPath")
directoriesToPull.set(listOf("/sdcard/Download/"))
numUniformShards.set(3)
shardTargetRuntime.set(2) // 2 minutes.
numFlakyTestAttempts.set(2) // 3 runs in total.
fileCacheTtl.set(Duration.ofDays(30))
timeout.set(Duration.ofMinutes(15)) // Note to self: this is per shard and not per test.
Expand Down

0 comments on commit 47f206b

Please sign in to comment.