File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
AndroidXCI/lib/src/main/kotlin/dev/androidx/ci/testRunner Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,8 @@ internal class TestMatrixStore(
302302 gcsPath = testApk.gcsPath.path
303303 ),
304304 shardingOption = sharding,
305- testTargets = testTargets
305+ testTargets = testTargets,
306+ orchestratorOption = deviceSetup?.orchestratorOption
306307 ),
307308 testSetup = testSetup
308309 )
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ internal class TestRun(
8787 " additionalApks" to deviceSetup?.additionalApks?.map {
8888 it.gcsPath.path
8989 }, // The order we install additional apks is important, so we do not sort here.
90+ " orchestratorOption" to deviceSetup?.orchestratorOption,
9091 " directoriesToPull" to deviceSetup?.directoriesToPull?.sorted()
9192 )
9293 )
Original file line number Diff line number Diff line change 11package dev.androidx.ci.testRunner.vo
22
3+ import dev.androidx.ci.generated.ftl.AndroidInstrumentationTest.OrchestratorOption
34import dev.androidx.ci.generated.ftl.Apk
45import dev.androidx.ci.generated.ftl.EnvironmentVariable
56import dev.androidx.ci.generated.ftl.FileReference
@@ -25,7 +26,9 @@ data class DeviceSetup(
2526 /* *
2627 * List of instrumentation arguments to be passed into the runner.
2728 */
28- val instrumentationArguments : List <InstrumentationArgument >? = null
29+ val instrumentationArguments : List <InstrumentationArgument >? = null ,
30+
31+ var orchestratorOption : OrchestratorOption = OrchestratorOption .DO_NOT_USE_ORCHESTRATOR
2932) {
3033 internal fun toTestSetup (): TestSetup {
3134 return TestSetup (
You can’t perform that action at this time.
0 commit comments