diff --git a/packages/flutter_tools/test/commands.shard/hermetic/build_ios_framework_test.dart b/packages/flutter_tools/test/commands.shard/hermetic/build_ios_framework_test.dart index d731bb3fda..577ec75590 100644 --- a/packages/flutter_tools/test/commands.shard/hermetic/build_ios_framework_test.dart +++ b/packages/flutter_tools/test/commands.shard/hermetic/build_ios_framework_test.dart @@ -4,12 +4,6 @@ // @dart = 2.8 -// TODO(gspencergoog): Remove this tag once this test's state leaks/test -// dependencies have been fixed. -// https://github.com/flutter/flutter/issues/85160 -// Fails with "flutter test --test-randomize-ordering-seed=1000" -@Tags(['no-shuffle']) - import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/base/platform.dart'; @@ -146,6 +140,8 @@ void main() { const String licenseText = 'This is the license!'; setUp(() { + // cache.getLicenseFile() relies on the flutter root being set. + Cache.flutterRoot ??= getFlutterRoot(); cache.getLicenseFile() ..createSync(recursive: true) ..writeAsStringSync(licenseText);