Skip to content

Commit cb4bb93

Browse files
author
nturgut
authored
[web] increase number of shards. sync engine web tests same as flutter repo (flutter#20164)
* increase number of shards. make engine web tests same as flutter repo tests * remove golden arguments. tests failed * adding comments
1 parent bcc43df commit cb4bb93

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

.cirrus.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ web_shard_template: &WEB_SHARD_TEMPLATE
44
only_if: "changesInclude('.cirrus.yml', 'DEPS', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
55
environment:
66
# As of March 2020, the Web shards needed 16G of RAM and 4 CPUs to run all framework tests with goldens without flaking.
7+
# The tests are encountering a flake in Chrome. Increasing the number of shards to decrease race conditions.
8+
# https://github.com/flutter/flutter/issues/62510
9+
WEB_SHARD_COUNT: 12
710
CPU: 4
811
MEMORY: 16G
9-
WEB_SHARD_COUNT: 4
12+
CHROME_NO_SANDBOX: true
1013
compile_host_script: |
1114
cd $ENGINE_PATH/src
1215
./flutter/tools/gn --unoptimized --full-dart-sdk
@@ -108,7 +111,31 @@ task:
108111
- name: web_tests-2-linux
109112
<< : *WEB_SHARD_TEMPLATE
110113

111-
- name: web_tests-3_last-linux # last Web shard must end with _last
114+
- name: web_tests-3-linux
115+
<< : *WEB_SHARD_TEMPLATE
116+
117+
- name: web_tests-4-linux
118+
<< : *WEB_SHARD_TEMPLATE
119+
120+
- name: web_tests-5-linux
121+
<< : *WEB_SHARD_TEMPLATE
122+
123+
- name: web_tests-6-linux
124+
<< : *WEB_SHARD_TEMPLATE
125+
126+
- name: web_tests-7-linux
127+
<< : *WEB_SHARD_TEMPLATE
128+
129+
- name: web_tests-8-linux
130+
<< : *WEB_SHARD_TEMPLATE
131+
132+
- name: web_tests-9-linux
133+
<< : *WEB_SHARD_TEMPLATE
134+
135+
- name: web_tests-10-linux
136+
<< : *WEB_SHARD_TEMPLATE
137+
138+
- name: web_tests-11_last-linux # last Web shard must end with _last
112139
<< : *WEB_SHARD_TEMPLATE
113140

114141
- name: build_test

0 commit comments

Comments
 (0)