Update android defines test to use emulator (#118808)

* Update android defines test to use emulator

* Need strings in dimensions.

* put dimensions in the wrong spot.

* Add bringup.

* See if the test runs with Linux_android

* Adjusting dimensions

* Dimension fields must be strings.

* Making dimensions a dict.

* Try with swarming.dimension

* The dimension set does not appear to do anything.

* Device type none

* Made target presubmit

* Dimensions again

* Fixed formatting.

* Update since flutter roller fails
This commit is contained in:
Ricardo Amador 2023-01-20 16:40:19 -08:00 committed by GitHub
parent 1cdaf9e338
commit 49e025d8ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1379,12 +1379,26 @@ targets:
- name: Linux_android android_defines_test
recipe: devicelab/devicelab_drone
presubmit: false
presubmit: true
bringup: true
timeout: 60
dimensions: {
cores: "swarming.dimension('8')",
kvm: "swarming.dimension('1')",
machine_type: "swarming.dimension('n1-standard-8')"
}
properties:
device_type: "none"
tags: >
["devicelab" ,"android", "linux"]
task_name: android_defines_test
dependencies: >-
[
{"dependency": "android_virtual_device", "version": "31"},
{"dependency": "android_sdk", "version": "version:33v6"},
{"dependency": "open_jdk", "version": "version:11"}
]
use_emulator: "true"
- name: Linux_android android_obfuscate_test
recipe: devicelab/devicelab_drone