mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[web] increase number of shards. sync engine web tests same as flutter repo (#20164)
* increase number of shards. make engine web tests same as flutter repo tests * remove golden arguments. tests failed * adding comments
This commit is contained in:
parent
bcc43dfb61
commit
cb4bb93d96
31
.cirrus.yml
31
.cirrus.yml
@ -4,9 +4,12 @@ web_shard_template: &WEB_SHARD_TEMPLATE
|
||||
only_if: "changesInclude('.cirrus.yml', 'DEPS', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
|
||||
environment:
|
||||
# As of March 2020, the Web shards needed 16G of RAM and 4 CPUs to run all framework tests with goldens without flaking.
|
||||
# The tests are encountering a flake in Chrome. Increasing the number of shards to decrease race conditions.
|
||||
# https://github.com/flutter/flutter/issues/62510
|
||||
WEB_SHARD_COUNT: 12
|
||||
CPU: 4
|
||||
MEMORY: 16G
|
||||
WEB_SHARD_COUNT: 4
|
||||
CHROME_NO_SANDBOX: true
|
||||
compile_host_script: |
|
||||
cd $ENGINE_PATH/src
|
||||
./flutter/tools/gn --unoptimized --full-dart-sdk
|
||||
@ -108,7 +111,31 @@ task:
|
||||
- name: web_tests-2-linux
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: web_tests-3_last-linux # last Web shard must end with _last
|
||||
- name: web_tests-3-linux
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: web_tests-4-linux
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: web_tests-5-linux
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: web_tests-6-linux
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: web_tests-7-linux
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: web_tests-8-linux
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: web_tests-9-linux
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: web_tests-10-linux
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: web_tests-11_last-linux # last Web shard must end with _last
|
||||
<< : *WEB_SHARD_TEMPLATE
|
||||
|
||||
- name: build_test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user