From e66ab4bab673979a37dd79ae6e12464c243775a2 Mon Sep 17 00:00:00 2001 From: Saket Narayan Date: Fri, 6 Dec 2024 13:39:09 -0500 Subject: [PATCH] Revert to a fixed number of shards on emulator.wtf --- .../convention/src/main/kotlin/AndroidTestConventionPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/build-logic/convention/src/main/kotlin/AndroidTestConventionPlugin.kt b/gradle/build-logic/convention/src/main/kotlin/AndroidTestConventionPlugin.kt index e4aa2fe7..f71ccec8 100644 --- a/gradle/build-logic/convention/src/main/kotlin/AndroidTestConventionPlugin.kt +++ b/gradle/build-logic/convention/src/main/kotlin/AndroidTestConventionPlugin.kt @@ -67,7 +67,7 @@ class AndroidTestConventionPlugin : Plugin { ) @Suppress("SdCardPath") directoriesToPull.set(listOf("/sdcard/Download/")) - shardTargetRuntime.set(2) // 2 minutes. + numUniformShards.set(3) 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.