Mitigation for current tool test skips on CI (#46181)
diff --git a/dev/bots/test.dart b/dev/bots/test.dart index a2b9bf1..d367831 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart
@@ -36,7 +36,9 @@ final List<String> flutterTestArgs = <String>[]; final bool useFlutterTestFormatter = Platform.environment['FLUTTER_TEST_FORMATTER'] == 'true'; -final bool canUseBuildRunner = Platform.environment['FLUTTER_TEST_NO_BUILD_RUNNER'] != 'true'; + +// This is disabled due to https://github.com/dart-lang/build/issues/2562 +const bool canUseBuildRunner = false; /// The number of Cirrus jobs that run host-only devicelab tests in parallel. /// @@ -260,9 +262,14 @@ .map<String>((String name) => path.basenameWithoutExtension(name)), // The `dynamic` on the next line is because Map.fromIterable isn't generic. value: (dynamic subshard) => () async { + // Due to https://github.com/flutter/flutter/issues/46180, skip the hermetic directory + // on Windows. + final String suffix = Platform.isWindows && subshard == 'commands' + ? 'permeable' + : ''; await _pubRunTest( toolsPath, - testPath: path.join(kTest, '$subshard$kDotShard'), + testPath: path.join(kTest, '$subshard$kDotShard', suffix), useBuildRunner: canUseBuildRunner, tableData: bigqueryApi?.tabledata, enableFlutterToolAsserts: true,