Some test cleanup for flutter_tools. (#90227)

This commit is contained in:
Ian Hickson
2021-10-01 10:38:02 -07:00
committed by GitHub
parent 5ab6c7bce1
commit 4315cdcf76
14 changed files with 69 additions and 57 deletions

View File

@@ -278,6 +278,8 @@ Future<void> _runGeneralToolTests() async {
testPaths: <String>[path.join('test', 'general.shard')],
enableFlutterToolAsserts: false,
// Detect unit test time regressions (poor time delay handling, etc).
// This overrides the 15 minute default for tools tests.
// See the README.md and dart_test.yaml files in the flutter_tools package.
perTestTimeout: const Duration(seconds: 2),
);
}
@@ -295,8 +297,6 @@ Future<void> _runWebToolTests() async {
path.join(flutterRoot, 'packages', 'flutter_tools'),
forceSingleCore: true,
testPaths: <String>[path.join('test', 'web.shard')],
enableFlutterToolAsserts: true,
perTestTimeout: const Duration(minutes: 3),
includeLocalEngineEnv: true,
);
}