diff --git a/packages/flutter_tools/test/integration.shard/test_test.dart b/packages/flutter_tools/test/integration.shard/test_test.dart index 67dcef1af4..25ef8a854b 100644 --- a/packages/flutter_tools/test/integration.shard/test_test.dart +++ b/packages/flutter_tools/test/integration.shard/test_test.dart @@ -250,6 +250,9 @@ Future _testFile( if (output.first.startsWith('Running "flutter pub get" in')) { output.removeAt(0); } + // Whether cached artifacts need to be downloaded is dependent on what + // previous tests have run. Disregard these messages. + output.removeWhere(RegExp(r'Downloading .*\.\.\.').hasMatch); output.add('<>'); output.addAll((exec.stderr as String).split('\n')); final List expectations = fileSystem.file(fullTestExpectation).readAsLinesSync();