diff --git a/dev/bots/test.dart b/dev/bots/test.dart index a8d164c373..a87a64cb1b 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -2285,8 +2285,6 @@ Future _runFlutterWebTest(String webRenderer, String workingDirectory, Lis flutter, [ 'test', - if (ciProvider == CiProviders.cirrus) - '--concurrency=1', // do not parallelize on Cirrus, to reduce flakiness '-v', '--platform=chrome', '--web-renderer=$webRenderer', @@ -2482,21 +2480,6 @@ void adjustEnvironmentToEnableFlutterAsserts(Map environment) { 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 /// pattern for version strings. ///