From 31ee51a3021d0d92e1750e5cd036824dc07baa18 Mon Sep 17 00:00:00 2001 From: nturgut Date: Mon, 3 Aug 2020 17:27:21 -0700 Subject: [PATCH] Increase the number of shards for web tests (#62623) * increase the number of shards for web tests * update comments --- .cirrus.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index d36cb43a6a..2a1ea612f9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -7,7 +7,9 @@ web_shard_template: &WEB_SHARD_TEMPLATE only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'packages/flutter_web_plugins/**', 'bin/**') || $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. - WEB_SHARD_COUNT: 8 + # 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 CHROME_NO_SANDBOX: true @@ -239,7 +241,19 @@ task: - name: web_tests-6-linux << : *WEB_SHARD_TEMPLATE - - name: web_tests-7_last-linux # last Web shard must end with _last + - 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_tests-0-linux