Further shard Android emulator tests (flutter/engine#50954)

Even when not flaking anymore, we'll probably want to split these up
into separate shards, and the Linux VMs are plentiful so there's no harm
in doing this.
This commit is contained in:
Zachary Anderson
2024-02-25 20:46:34 +00:00
committed by GitHub
parent 8ffc36b8e3
commit af1428f011
3 changed files with 84 additions and 24 deletions

View File

@@ -59,7 +59,27 @@ targets:
[
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
]
timeout: 60
timeout: 90
runIf:
- .ci.yaml
- ci/builders/linux_android_emulator.json
- DEPS
- lib/ui/**
- shell/platform/android/**
- testing/scenario_app/**
- name: Linux linux_android_emulator_skia_tests
bringup: true
enabled_branches:
- main
recipe: engine_v2/engine_v2
properties:
config_name: linux_android_emulator_skia
dependencies: >-
[
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
]
timeout: 90
runIf:
- .ci.yaml
- ci/builders/linux_android_emulator.json
@@ -80,7 +100,7 @@ targets:
[
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
]
timeout: 60
timeout: 90
runIf:
- .ci.yaml
- ci/builders/linux_android_emulator.json

View File

@@ -58,28 +58,6 @@
"android"
]
},
{
"language": "dart",
"name": "Android Scenario App Integration Tests (Skia)",
"test_dependencies": [
{
"dependency": "android_virtual_device",
"version": "android_34_google_apis_x64.textpb"
},
{
"dependency": "avd_cipd_version",
"version": "build_id:8759428741582061553"
}
],
"contexts": [
"android_virtual_device"
],
"script": "flutter/testing/scenario_app/bin/run_android_tests.dart",
"parameters": [
"--out-dir=../out/android_emulator_debug_x64",
"--no-enable-impeller"
]
},
{
"language": "dart",
"name": "Android Scenario App Integration Tests (Impeller/Vulkan)",

View File

@@ -0,0 +1,62 @@
{
"builds": [
{
"drone_dimensions": [
"device_type=none",
"os=Linux",
"kvm=1",
"cores=8"
],
"gclient_variables": {
"use_rbe": true
},
"gn": [
"--android",
"--android-cpu=x64",
"--no-lto",
"--rbe",
"--no-goma",
"--target-dir",
"android_emulator_skia_debug_x64"
],
"dependencies": [
{
"dependency": "goldctl",
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"
}
],
"name": "android_emulator_skia_debug_x64",
"ninja": {
"config": "android_emulator_skia_debug_x64",
"targets": [
"flutter/shell/platform/android:flutter_shell_native_unittests",
"flutter/testing/scenario_app"
]
},
"tests": [
{
"language": "dart",
"name": "Android Scenario App Integration Tests (Skia)",
"test_dependencies": [
{
"dependency": "android_virtual_device",
"version": "android_34_google_apis_x64.textpb"
},
{
"dependency": "avd_cipd_version",
"version": "build_id:8759428741582061553"
}
],
"contexts": [
"android_virtual_device"
],
"script": "flutter/testing/scenario_app/bin/run_android_tests.dart",
"parameters": [
"--out-dir=../out/android_emulator_skia_debug_x64",
"--no-enable-impeller"
]
}
]
}
]
}