From 49e025d8ac2450d555dae88ad2000c62b5515dd8 Mon Sep 17 00:00:00 2001 From: Ricardo Amador <32242716+ricardoamador@users.noreply.github.com> Date: Fri, 20 Jan 2023 16:40:19 -0800 Subject: [PATCH] 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 --- .ci.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.ci.yaml b/.ci.yaml index 41976298c5e5..b3d1d7e3b4bf 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -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