From 44bf975115ccf2a58495236be521a116105ff7d5 Mon Sep 17 00:00:00 2001 From: Christopher Fujino Date: Wed, 20 Oct 2021 17:13:02 -0700 Subject: [PATCH] remove Downloading ... stderr messages (#92211) --- packages/flutter_tools/test/integration.shard/test_test.dart | 3 +++ 1 file changed, 3 insertions(+) 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();