From cb4bb93d96be76de07df9d779fec70b8e038e19d Mon Sep 17 00:00:00 2001 From: nturgut Date: Fri, 31 Jul 2020 17:45:59 -0700 Subject: [PATCH] [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 --- .cirrus.yml | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 5731441e4e0be..a4b293029353f 100644 --- a/.cirrus.yml +++ b/.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