Skip to content

Commit

Permalink
[web] increase number of shards. sync engine web tests same as flutte…
Browse files Browse the repository at this point in the history
…r repo (flutter#20164)

* increase number of shards. make engine web tests same as flutter repo tests

* remove golden arguments. tests failed

* adding comments
  • Loading branch information
nturgut authored Aug 1, 2020
1 parent bcc43df commit cb4bb93
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cb4bb93

Please sign in to comment.