Unverified Commit 025d18d7 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Remove Cirrus check for web test concurrency (#143046)

Tests no longer run on Cirrus.
#40630
parent d60643e8
...@@ -2285,8 +2285,6 @@ Future<void> _runFlutterWebTest(String webRenderer, String workingDirectory, Lis ...@@ -2285,8 +2285,6 @@ Future<void> _runFlutterWebTest(String webRenderer, String workingDirectory, Lis
flutter, flutter,
<String>[ <String>[
'test', 'test',
if (ciProvider == CiProviders.cirrus)
'--concurrency=1', // do not parallelize on Cirrus, to reduce flakiness
'-v', '-v',
'--platform=chrome', '--platform=chrome',
'--web-renderer=$webRenderer', '--web-renderer=$webRenderer',
...@@ -2482,21 +2480,6 @@ void adjustEnvironmentToEnableFlutterAsserts(Map<String, String> environment) { ...@@ -2482,21 +2480,6 @@ void adjustEnvironmentToEnableFlutterAsserts(Map<String, String> environment) {
environment['FLUTTER_TOOL_ARGS'] = toolsArgs.trim(); environment['FLUTTER_TOOL_ARGS'] = toolsArgs.trim();
} }
enum CiProviders {
cirrus,
luci,
}
CiProviders? get ciProvider {
if (Platform.environment['CIRRUS_CI'] == 'true') {
return CiProviders.cirrus;
}
if (Platform.environment['LUCI_CONTEXT'] != null) {
return CiProviders.luci;
}
return null;
}
/// Checks the given file's contents to determine if they match the allowed /// Checks the given file's contents to determine if they match the allowed
/// pattern for version strings. /// pattern for version strings.
/// ///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment